Skip to content

Commit 68fa87f

Browse files
committed
fix(question): sql quote escaping
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
1 parent 1b0523e commit 68fa87f

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
@@ -953,7 +953,7 @@ public static function import(PluginFormcreatorLinker $linker, $input = [], $con
953953
}
954954

955955
// escape text fields
956-
foreach (['name', 'description'] as $key) {
956+
foreach (['name', 'description', 'default_values', 'values'] as $key) {
957957
$input[$key] = $DB->escape($input[$key]);
958958
}
959959

0 commit comments

Comments
 (0)