From 287aebfbbf3d57fc7e904f007401200475c2f22f Mon Sep 17 00:00:00 2001 From: eileenmcnaughton Date: Fri, 12 Jun 2015 00:49:17 +0000 Subject: [PATCH] CRM-16555 fix for pay later processor not having an object --- CRM/Core/Payment/Form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.25.1