Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Service/Group/ContactsGroupService.php2
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