Smart Group Notice Fix
authorjitendrapurohit <jituraj7760@gmail.com>
Tue, 1 Jul 2014 05:19:59 +0000 (10:49 +0530)
committerjitendrapurohit <jituraj7760@gmail.com>
Tue, 1 Jul 2014 05:19:59 +0000 (10:49 +0530)
CRM/Contact/BAO/GroupContactCache.php

index cfa4282e1f679def80188ef34e5dee1a001068ad..8ffeb2da1345347975c79d071ba829a444acf491 100644 (file)
@@ -627,7 +627,7 @@ ORDER BY   gc.contact_id, g.children
       $contactGroup[$prevContactID]['groupTitle'] = implode(', ', $contactGroup[$prevContactID]['groupTitle']);
     }
 
-    if (is_numeric($contactID)) {
+    if ((!empty($contactGroup[$contactID]) && is_numeric($contactID))) {
       return $contactGroup[$contactID];
     }
     else {