Skip to content
Snippets Groups Projects
Unverified Commit 1ddff850 authored by Christoph Wurst's avatar Christoph Wurst
Browse files

Do not fail when no CATEGORY is set on contacts

parent 72fb9ce9
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment