From 30ddbdcb986c0d2ff739f7c278f8581f08606297 Mon Sep 17 00:00:00 2001 From: JKingsnorth Date: Mon, 4 Jan 2016 13:43:22 +0000 Subject: [PATCH] Style fixes --- CRM/Event/Form/Registration/Register.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Event/Form/Registration/Register.php b/CRM/Event/Form/Registration/Register.php index 930345595f..7a39c7e920 100644 --- a/CRM/Event/Form/Registration/Register.php +++ b/CRM/Event/Form/Registration/Register.php @@ -314,7 +314,7 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration { // Label is value + 1, since the code sees this is ADDITIONAL participants (in addition to "self") $additionalOptions = array(); $additionalOptions[''] = 1; - for ($i=1; $i <= $this->_values['event']['max_additional_participants']; $i++) { + for ($i = 1; $i <= $this->_values['event']['max_additional_participants']; $i++) { $additionalOptions[$i] = $i + 1; } $this->add('select', 'additional_participants', -- 2.25.1