From: yashodha Date: Tue, 23 Apr 2013 17:25:34 +0000 (+0530) Subject: CRM-12401 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=eec002d211820664832da091af046b9dd086e74c;p=civicrm-core.git CRM-12401 --- diff --git a/CRM/Core/BAO/ActionSchedule.php b/CRM/Core/BAO/ActionSchedule.php index f68d7fba6b..8d16d1c831 100755 --- a/CRM/Core/BAO/ActionSchedule.php +++ b/CRM/Core/BAO/ActionSchedule.php @@ -840,7 +840,7 @@ WHERE reminder.action_schedule_id = %1 AND reminder.action_date_time IS NULL $where[] = "e.membership_type_id IS NULL"; } - $where[] = "e.is_override IS NULL OR e.is_override = 0"; + $where[] = "( e.is_override IS NULL OR e.is_override = 0 )"; $dateField = str_replace('membership_', 'e.', $actionSchedule->start_action_date); $notINClause = self::permissionedRelationships($contactField);