CRM-12401
authoryashodha <yashodha.chaku@webaccess.co.in>
Tue, 23 Apr 2013 17:25:34 +0000 (22:55 +0530)
committeryashodha <yashodha.chaku@webaccess.co.in>
Tue, 23 Apr 2013 17:25:59 +0000 (22:55 +0530)
CRM/Core/BAO/ActionSchedule.php

index f68d7fba6b83d13406df56f4cdd5a40d93e046a1..8d16d1c831372795f7127e737fd315f6db823af8 100755 (executable)
@@ -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);