Skip to content

Commit

Permalink
Ensure $fields[] is initialized (empty) in start.php (CFM-218)
Browse files Browse the repository at this point in the history
  • Loading branch information
arlen committed Dec 17, 2025
1 parent 846e89b commit 3277adf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/templates/EnrollmentFlows/start.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
declare(strict_types = 1);

// Enrollment Flow Start has its own file of fields
$fields = [];
$modelsName = $this->getName();
$templatePath = $vv_template_path ?? ROOT . DS . "templates" . DS . $modelsName;
include($templatePath . DS . 'start.inc');
Expand Down

0 comments on commit 3277adf

Please sign in to comment.