enotice fix
authoreileenmcnaugton <eileen@fuzion.co.nz>
Mon, 7 Sep 2015 13:09:06 +0000 (01:09 +1200)
committereileenmcnaugton <eileen@fuzion.co.nz>
Mon, 7 Sep 2015 13:09:06 +0000 (01:09 +1200)
CRM/Contribute/Form/AbstractEditPayment.php

index 7654b0d065bf8ff7f5055c8491c9cb3c655a800d..e72ccd29790bc1dedb08bdbe601d8a4276a96c3c 100644 (file)
@@ -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();
   }