From: jitendrapurohit Date: Tue, 1 Jul 2014 05:19:59 +0000 (+0530) Subject: Smart Group Notice Fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=13982f7bd4d5598c51c264c3ec560dfad9b8347e;p=civicrm-core.git Smart Group Notice Fix --- diff --git a/CRM/Contact/BAO/GroupContactCache.php b/CRM/Contact/BAO/GroupContactCache.php index cfa4282e1f..8ffeb2da13 100644 --- a/CRM/Contact/BAO/GroupContactCache.php +++ b/CRM/Contact/BAO/GroupContactCache.php @@ -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 {