From: Dave Greenberg Date: Fri, 23 Aug 2013 23:29:47 +0000 (-0700) Subject: Fix notice on event registration when payment blocks not present and cid=0 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=cf6a124f34e51dd053c54fc84a2d75db5bbc9ad6;p=civicrm-core.git Fix notice on event registration when payment blocks not present and cid=0 --- 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) {