From f0f2c01124420dddf8a7ce382cbbb9c23c357133 Mon Sep 17 00:00:00 2001 From: monishdeb Date: Mon, 3 Aug 2015 13:47:48 +0530 Subject: [PATCH] minor fix --- CRM/Contact/BAO/GroupContact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/BAO/GroupContact.php b/CRM/Contact/BAO/GroupContact.php index 23a96a75ae..003730fb13 100644 --- a/CRM/Contact/BAO/GroupContact.php +++ b/CRM/Contact/BAO/GroupContact.php @@ -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 "; -- 2.25.1