Skip to content

Commit

Permalink
fix(form): uninitialized var
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Dec 16, 2019
1 parent 701abee commit 542f686
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inc/form.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1262,6 +1262,7 @@ class='formcreator_form form_horizontal'>";

// Show validator selector
if ($this->fields['validation_required'] != PluginFormcreatorForm_Validator::VALIDATION_NONE) {
$validators = [];
$formValidator = new PluginFormcreatorForm_Validator();
switch ($this->fields['validation_required']) {
case PluginFormcreatorForm_Validator::VALIDATION_GROUP:
Expand Down

0 comments on commit 542f686

Please sign in to comment.