From b1998d9c638fedb05d293d00b2c52c357f0ef197 Mon Sep 17 00:00:00 2001 From: yashodha Date: Tue, 23 Apr 2013 23:07:20 +0530 Subject: [PATCH] CRM-12401 --- CRM/Core/BAO/ActionSchedule.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Core/BAO/ActionSchedule.php b/CRM/Core/BAO/ActionSchedule.php index 8d16d1c831..f204b740cf 100755 --- a/CRM/Core/BAO/ActionSchedule.php +++ b/CRM/Core/BAO/ActionSchedule.php @@ -844,8 +844,8 @@ WHERE reminder.action_schedule_id = %1 AND reminder.action_date_time IS NULL $dateField = str_replace('membership_', 'e.', $actionSchedule->start_action_date); $notINClause = self::permissionedRelationships($contactField); - $memershipStatus = CRM_Member_PseudoConstant::membershipStatus(NULL, "is_current_member = 1", 'id'); - $mStatus = implode (',', $memershipStatus); + $membershipStatus = CRM_Member_PseudoConstant::membershipStatus(NULL, "is_current_member = 1 OR name = 'Expired'", 'id'); + $mStatus = implode (',', $membershipStatus); $where[] = "e.status_id IN ({$mStatus})"; } -- 2.25.1