diff options
-rw-r--r-- | lib/Service/Group/ContactsGroupService.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/Group/ContactsGroupService.php b/lib/Service/Group/ContactsGroupService.php index f5422d212..60e94eabe 100644 --- a/lib/Service/Group/ContactsGroupService.php +++ b/lib/Service/Group/ContactsGroupService.php @@ -70,7 +70,7 @@ class ContactsGroupService implements IGroupService { if (!isset($r['EMAIL'])) { continue; } - foreach (explode(',', $r['CATEGORIES']) as $group) { + foreach (explode(',', $r['CATEGORIES'] ?? '') as $group) { $receivers[] =[ 'id' => $group, 'name' => $group |