Browse code

[webmail] BM-14983 Fix: use card container as fallback

Thomas Fricker authored on 26/06/2019 10:26:02
Showing 1 changed files
... ...
@@ -274,7 +274,11 @@ class bm_people_source extends rcube_addressbook {
274 274
             );
275 275
             $members->add($rc);
276 276
           } else {
277
-            $this->expandMembers($m->containerUid, $m->itemUid, $members);
277
+            $containerUid = $m->containerUid;
278
+            if (is_null($containerUid)){
279
+              $containerUid = $container;
280
+            }
281
+            $this->expandMembers($containerUid, $m->itemUid, $members);
278 282
           }
279 283
         } 
280 284
     }