From ef27a9b661887d754f2fc4dfcf5eb4b16eb608ea Mon Sep 17 00:00:00 2001 From: Aidan Saunders Date: Fri, 18 May 2018 16:55:51 +0100 Subject: [PATCH] For event registrations requiring approval, there are no fees to list. Avoids a warning about non-numeric value at line 262 --- CRM/Event/Form/Registration/Confirm.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CRM/Event/Form/Registration/Confirm.php b/CRM/Event/Form/Registration/Confirm.php index da1a8ee522..29b5c5a279 100644 --- a/CRM/Event/Form/Registration/Confirm.php +++ b/CRM/Event/Form/Registration/Confirm.php @@ -208,7 +208,8 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration { $this->assignToTemplate(); if ($this->_values['event']['is_monetary'] && - ($this->_params[0]['amount'] || $this->_params[0]['amount'] == 0) + ($this->_params[0]['amount'] || $this->_params[0]['amount'] == 0) && + !$this->_requireApproval ) { $this->_amount = array(); -- 2.25.1