Skip to content

Commit ed4b021

Browse files
committed
fix(question): quote escaping in import
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
1 parent 8233b75 commit ed4b021

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/question.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1409,7 +1409,7 @@ public static function import(PluginFormcreatorImportLinker $importLinker, $sect
14091409
$question['_skip_checks'] = true;
14101410

14111411
// escape text fields
1412-
foreach (['name', 'description'] as $key) {
1412+
foreach (['name', 'description', 'values'] as $key) {
14131413
$question[$key] = $DB->escape($question[$key]);
14141414
}
14151415

0 commit comments

Comments
 (0)