From cf6a124f34e51dd053c54fc84a2d75db5bbc9ad6 Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Fri, 23 Aug 2013 16:29:47 -0700 Subject: [PATCH] Fix notice on event registration when payment blocks not present and cid=0 --- CRM/Event/Form/Registration/Register.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Event/Form/Registration/Register.php b/CRM/Event/Form/Registration/Register.php index 91db147f1f..add14e40aa 100644 --- a/CRM/Event/Form/Registration/Register.php +++ b/CRM/Event/Form/Registration/Register.php @@ -403,6 +403,7 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration { $pps = array(); //@todo this processor adding fn is another one duplicated on contribute - a shared // common class would make this sort of thing extractable + $onlinePaymentProcessorEnabled = FALSE; if (!empty($this->_paymentProcessors)) { foreach ($this->_paymentProcessors as $key => $name) { if($name['billing_mode'] == 1) { -- 2.25.1