From 4bb1fa8ae106d421569cf310fa36d7cb8f31efe3 Mon Sep 17 00:00:00 2001 From: eileen Date: Sun, 4 Aug 2013 21:37:34 +1200 Subject: [PATCH] unrelated e-notice fix --- CRM/Member/Page/AJAX.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Member/Page/AJAX.php b/CRM/Member/Page/AJAX.php index e93814df79..83707e4b67 100644 --- a/CRM/Member/Page/AJAX.php +++ b/CRM/Member/Page/AJAX.php @@ -67,7 +67,7 @@ WHERE id = %1"; // fix the display of the monetary value, CRM-4038 $details['total_amount'] = CRM_Utils_Money::format($details['total_amount'], NULL, '%a'); $options = array(ts('No auto-renew option'), ts('Give option, but not required'), ts('Auto-renew required ')); - $details['auto_renew'] = $options[$details['auto_renew']]; + $details['auto_renew'] = CRM_Utils_Array::value('auto_renew', $options[$details]); echo json_encode($details); CRM_Utils_System::civiExit(); } -- 2.25.1