Skip to content
Snippets Groups Projects
Commit 3dd160c6 authored by altatof's avatar altatof
Browse files

use dol_escape_htmltag

parent 55c0a99b
Branches
Tags
No related merge requests found
...@@ -739,7 +739,7 @@ class ExtraFields ...@@ -739,7 +739,7 @@ class ExtraFields
} }
elseif ($type == 'varchar') elseif ($type == 'varchar')
{ {
$out='<input type="text" class="flat" name="'.$keysuffix.'options_'.$key.$keyprefix.'" size="'.$showsize.'" maxlength="'.$size.'" value="'.htmlentities($value).'"'.($moreparam?$moreparam:'').'>'; $out='<input type="text" class="flat" name="'.$keysuffix.'options_'.$key.$keyprefix.'" size="'.$showsize.'" maxlength="'.$size.'" value="'.dol_escape_htmltag($value).'"'.($moreparam?$moreparam:'').'>';
} }
elseif ($type == 'text') elseif ($type == 'text')
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment