Skip to content

Commit

Permalink
fix(form): import of form category with single quote
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Aug 22, 2019
1 parent 7b90ef4 commit ba82bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/form.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1964,7 +1964,7 @@ public static function import(PluginFormcreatorLinker $linker, $input = [], $con
$formCategoryId = 0;
if ($input['_plugin_formcreator_category'] != '') {
$formCategoryId = $formCategory->import([
'completename' => $input['_plugin_formcreator_category'],
'completename' => Toolbox::addslashes_deep($input['_plugin_formcreator_category']),
]);
}
$input[$formCategoryFk] = $formCategoryId;
Expand Down

0 comments on commit ba82bd1

Please sign in to comment.