From 06e3c66b5cde8bbace7d29e4c82af78544e4398f Mon Sep 17 00:00:00 2001 From: larssandergreen Date: Sat, 17 Jun 2023 17:41:05 -0600 Subject: [PATCH] Fix lifetime membership with end date warning --- CRM/Member/Form/Membership.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Member/Form/Membership.php b/CRM/Member/Form/Membership.php index 7c5fee3228..10402870ea 100644 --- a/CRM/Member/Form/Membership.php +++ b/CRM/Member/Form/Membership.php @@ -780,7 +780,7 @@ DESC limit 1"); } if (empty($params['status_id']) || in_array($params['status_id'], $status_ids) == FALSE) { - $errors['status_id'] = ts('Please enter a status that does NOT represent a current membership status.'); + $errors['status_id'] = ts('A current lifetime membership cannot have an end date. You can either remove the end date or change the status to a non-current status like Cancelled, Expired, or Deceased.'); } if (!empty($params['is_override']) && !CRM_Member_StatusOverrideTypes::isPermanent($params['is_override'])) { -- 2.25.1