From: eileenmcnaughton Date: Fri, 12 Jun 2015 00:49:17 +0000 (+0000) Subject: CRM-16555 fix for pay later processor not having an object X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=287aebfbbf3d57fc7e904f007401200475c2f22f;p=civicrm-core.git CRM-16555 fix for pay later processor not having an object --- diff --git a/CRM/Core/Payment/Form.php b/CRM/Core/Payment/Form.php index 19599e6dfb..3397f93ae4 100644 --- a/CRM/Core/Payment/Form.php +++ b/CRM/Core/Payment/Form.php @@ -260,7 +260,7 @@ class CRM_Core_Payment_Form { $form->assign('profileAddressFields', $profileAddressFields); } - if ($processor['object']->buildForm($form)) { + if (!empty($processor['object']) && $processor['object']->buildForm($form)) { return NULL; }