minor fix
authormonishdeb <monish.deb@webaccessglobal.com>
Thu, 9 Jul 2015 11:46:47 +0000 (17:16 +0530)
committermonishdeb <monish.deb@webaccessglobal.com>
Thu, 9 Jul 2015 11:46:47 +0000 (17:16 +0530)
CRM/Contact/BAO/GroupContact.php

index 90609af0833a92a9afa8b60a31d02c270bc86dba..d29b3267b5f9ff0b24db5fb5d28b4c610c246c9f 100644 (file)
@@ -351,7 +351,7 @@ class CRM_Contact_BAO_GroupContact extends CRM_Contact_DAO_GroupContact {
                     civicrm_subscription_history.method as method';
     }
 
-    $where = " WHERE contact_a.id = %1 AND civicrm_group.is_active = 1 ";
+    $where = " WHERE contact_a.id = %1 AND civicrm_group.is_active = 1 AND civicrm_group.saved_search_id IS NULL";
 
     if ($excludeHidden) {
       $where .= " AND civicrm_group.is_hidden = 0 ";