Event Registration: initialize array
authorMathieu Lutfy <mathieu@symbiotic.coop>
Thu, 23 Dec 2021 14:48:04 +0000 (09:48 -0500)
committerMathieu Lutfy <mathieu@bidon.ca>
Thu, 23 Dec 2021 14:48:04 +0000 (09:48 -0500)
CRM/Event/Form/Registration.php

index 5ccb819dc5b933cc7bc6148836f5ef0d5fe52a09..74526af6a41581e3ecbeeb7419864f418e998800 100644 (file)
@@ -495,6 +495,7 @@ class CRM_Event_Form_Registration extends CRM_Core_Form {
 
     $cid = CRM_Utils_Request::retrieve('cid', 'Positive', $this);
     $contactID = CRM_Core_Session::getLoggedInContactID();
+    $fields = [];
 
     // we don't allow conflicting fields to be
     // configured via profile