From: yashodha Date: Tue, 23 Apr 2013 17:37:20 +0000 (+0530) Subject: CRM-12401 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b1998d9c638fedb05d293d00b2c52c357f0ef197;p=civicrm-core.git CRM-12401 --- 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})"; }