diff --git a/htdocs/admin/dict.php b/htdocs/admin/dict.php index 2f338f15fa7..4a33cf92ba9 100644 --- a/htdocs/admin/dict.php +++ b/htdocs/admin/dict.php @@ -218,7 +218,7 @@ if ($_POST["actionadd"]) $i=0; foreach ($listfield as $f => $value) { if ($i) $sql.=","; - $sql.="'".$_POST[$value]."'"; + $sql.="'".addslashes($_POST[$value])."'"; $i++; } $sql.=",1)";