From: eileenmcnaugton Date: Mon, 7 Sep 2015 13:09:06 +0000 (+1200) Subject: enotice fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=275fba6bb6155beb1f62a7b4931b6cd79e6223cb;p=civicrm-core.git enotice fix --- diff --git a/CRM/Contribute/Form/AbstractEditPayment.php b/CRM/Contribute/Form/AbstractEditPayment.php index 7654b0d065..e72ccd2979 100644 --- a/CRM/Contribute/Form/AbstractEditPayment.php +++ b/CRM/Contribute/Form/AbstractEditPayment.php @@ -655,7 +655,7 @@ LEFT JOIN civicrm_contribution on (civicrm_contribution.contact_id = civicrm_co $this->assign('credit_card_number', CRM_Utils_System::mungeCreditCard($this->_params['credit_card_number']) ); - $this->assign('credit_card_type', $this->_params['credit_card_type']); + $this->assign('credit_card_type', CRM_Utils_Array::value('credit_card_type', $this->_params)); } $this->_params['ip_address'] = CRM_Utils_System::ipAddress(); }