Fix error Argument #2 must be of type array, null given

This commit is contained in:
Hadi Nategh 2022-01-14 14:02:56 +01:00
parent 82277c802b
commit dd8140397a

View File

@ -2125,7 +2125,7 @@ ORDER BY cal_user_type, cal_usre_id
// for new or changed group-invitations, remove previously deleted members, so they show up again // for new or changed group-invitations, remove previously deleted members, so they show up again
if ($uid < 0) if ($uid < 0)
{ {
$delete_deleted = array_merge($delete_deleted, $GLOBALS['egw']->accounts->members($uid, true)); $delete_deleted = array_merge($delete_deleted, (array)$GLOBALS['egw']->accounts->members($uid, true));
} }
} }
if ($delete_deleted) if ($delete_deleted)