parseerror on bad group id
This commit is contained in:
parent
1fecdcfc89
commit
fe4f85117d
|
@ -169,6 +169,11 @@ namespace controllers\publics;
|
|||
$nb_groups_update = 0;
|
||||
foreach ($groups as $id => $group)
|
||||
{
|
||||
foreach ($group['contacts_ids'] as $key => $value)
|
||||
{
|
||||
$group['contacts_ids'][$key] = (int) $value;
|
||||
}
|
||||
|
||||
$nb_groups_update += (int) $this->internal_group->update_for_user($_SESSION['user']['id'], $id, $group['name'], $group['contacts_ids']);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue