From: Joe Murray Date: Mon, 18 Nov 2013 22:22:29 +0000 (-0500) Subject: fixed the {} X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d008a2648da1b893e343b1580dee1b2a4706d551;p=civicrm-core.git fixed the {} --- 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 + ) + ); + } } }