From: Ravish Nair Date: Mon, 15 Apr 2013 09:43:16 +0000 (+0530) Subject: -- CRM-12348 Minor Fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0e4e5a4957346db3f938ac862362715178ce7db6;p=civicrm-core.git -- CRM-12348 Minor Fix --- diff --git a/CRM/Contact/BAO/GroupContactCache.php b/CRM/Contact/BAO/GroupContactCache.php index 941fa3a1fc..5d060e5655 100644 --- a/CRM/Contact/BAO/GroupContactCache.php +++ b/CRM/Contact/BAO/GroupContactCache.php @@ -78,7 +78,7 @@ class CRM_Contact_BAO_GroupContactCache extends CRM_Contact_DAO_GroupContactCach // note escapeString is a must here and we can't send the imploded value as second arguement to // the executeQuery(), since that would put single quote around the string and such a string // of comma separated integers would not work. - $groupIDString = CRM_Core_DAO::escapeString(implode(', ', $groupID)); + $groupIDString = CRM_Core_DAO::escapeString(implode(', ', $groupIDs)); $groupIDClause = "AND (g.id IN ( {$groupIDString} ))"; }