fixed the {}
authorJoe Murray <joe.murray@jmaconsulting.biz>
Mon, 18 Nov 2013 22:22:29 +0000 (17:22 -0500)
committerJoe Murray <joe.murray@jmaconsulting.biz>
Mon, 18 Nov 2013 22:22:29 +0000 (17:22 -0500)
CRM/Contribute/Form/AbstractEditPayment.php

index 826e758d079a2224bf10a952bac9b41085447deb..71292d3ca3af5f5607a4c8e44e33ed8a59c87e50 100644 (file)
@@ -269,15 +269,16 @@ LEFT JOIN  civicrm_contribution on (civicrm_contribution.contact_id = civicrm_co
         elseif ($updatedStatusName == 'Expired') {
           $statusMsg .= "<br />" . ts("Membership for %1 has been Expired.", array(1 => $userDisplayName));
         }
-        else
+        else {
           $endDate = CRM_Utils_Array::value('membership_end_date', $updateResult);
           if ($endDate) {
-          $statusMsg .= "<br />" . ts("Membership for %1 has been updated. The membership End Date is %2.",
-            array(
-              1 => $userDisplayName,
-              2 => $endDate
-            )
-          );
+            $statusMsg .= "<br />" . ts("Membership for %1 has been updated. The membership End Date is %2.",
+              array(
+                1 => $userDisplayName,
+                2 => $endDate
+              )
+            );
+          }
         }
       }