From 108e87c7cfcfeab66d516fcf81a36a4d731bc3ba Mon Sep 17 00:00:00 2001 From: monishdeb Date: Thu, 9 Jul 2015 17:16:47 +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 90609af083..d29b3267b5 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