Style fixes
authorJKingsnorth <john@johnkingsnorth.co.uk>
Mon, 4 Jan 2016 13:43:22 +0000 (13:43 +0000)
committerJKingsnorth <john@johnkingsnorth.co.uk>
Mon, 4 Jan 2016 13:43:22 +0000 (13:43 +0000)
CRM/Event/Form/Registration/Register.php

index 930345595f63ba50aa1ec29e47c688ac5abe8da0..7a39c7e920bd325dd2e87af2f45c85d19dd37d09 100644 (file)
@@ -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',