From d008a2648da1b893e343b1580dee1b2a4706d551 Mon Sep 17 00:00:00 2001 From: Joe Murray Date: Mon, 18 Nov 2013 17:22:29 -0500 Subject: [PATCH] fixed the {} --- CRM/Contribute/Form/AbstractEditPayment.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/CRM/Contribute/Form/AbstractEditPayment.php b/CRM/Contribute/Form/AbstractEditPayment.php index 826e758d07..71292d3ca3 100644 --- a/CRM/Contribute/Form/AbstractEditPayment.php +++ b/CRM/Contribute/Form/AbstractEditPayment.php @@ -269,15 +269,16 @@ LEFT JOIN civicrm_contribution on (civicrm_contribution.contact_id = civicrm_co elseif ($updatedStatusName == 'Expired') { $statusMsg .= "
" . ts("Membership for %1 has been Expired.", array(1 => $userDisplayName)); } - else + else { $endDate = CRM_Utils_Array::value('membership_end_date', $updateResult); if ($endDate) { - $statusMsg .= "
" . ts("Membership for %1 has been updated. The membership End Date is %2.", - array( - 1 => $userDisplayName, - 2 => $endDate - ) - ); + $statusMsg .= "
" . ts("Membership for %1 has been updated. The membership End Date is %2.", + array( + 1 => $userDisplayName, + 2 => $endDate + ) + ); + } } } -- 2.25.1