From 13982f7bd4d5598c51c264c3ec560dfad9b8347e Mon Sep 17 00:00:00 2001 From: jitendrapurohit Date: Tue, 1 Jul 2014 10:49:59 +0530 Subject: [PATCH] Smart Group Notice Fix --- CRM/Contact/BAO/GroupContactCache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.25.1