From: Rohan Katkar Date: Fri, 26 Dec 2014 13:03:17 +0000 (+0530) Subject: CRM-15757 Notices fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c89a9cf7a738f50827a4d2a6933c67113651f961;p=civicrm-core.git CRM-15757 Notices fix --- diff --git a/CRM/Core/Payment/PayPalImpl.php b/CRM/Core/Payment/PayPalImpl.php index 999df05985..dae881e06e 100644 --- a/CRM/Core/Payment/PayPalImpl.php +++ b/CRM/Core/Payment/PayPalImpl.php @@ -303,7 +303,7 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment { $args['pwd'] = $this->_paymentProcessor['password']; $args['version'] = 3.0; $args['signature'] = $this->_paymentProcessor['signature']; - $args['subject'] = $this->_paymentProcessor['subject']; + $args['subject'] = CRM_Utils_Array::value('subject', $this->_paymentProcessor); $args['method'] = $method; } diff --git a/CRM/Event/Form/EventFees.php b/CRM/Event/Form/EventFees.php index 4d7b5ee6de..42d7bb6cb1 100644 --- a/CRM/Event/Form/EventFees.php +++ b/CRM/Event/Form/EventFees.php @@ -410,7 +410,7 @@ SELECT id, html_type } } if ($form->_mode) { - CRM_Core_Payment_Form::buildPaymentForm($form, $form->_processor, FALSE); + CRM_Core_Payment_Form::buildPaymentForm($form, $form->_paymentProcessor, FALSE); } elseif (!$form->_mode) { $form->addElement('checkbox', 'record_contribution', ts('Record Payment?'), NULL,