Skip to content

Commit

Permalink
fix: Populate field types when editing or adding fields
Browse files Browse the repository at this point in the history
  • Loading branch information
live627 committed Mar 25, 2021
1 parent bf7139a commit 2d4e575
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ManageCustomForm.php
Expand Up @@ -469,6 +469,7 @@ function ModifyCustomFormSettings($return_config = false)
redirectexit("action=admin;area=modsettings;sa=customform;form_id=" . $data['id_form'] . ";");
}

require_once($sourcedir . '/Class-CustomForm.php');
$result = [];
foreach (customform_list_classes() as $cn)
$result[$cn] = $txt['customform_type_' . $cn];
Expand Down

0 comments on commit 2d4e575

Please sign in to comment.