Skip to content
Snippets Groups Projects
Commit 487b5b25 authored by altatof's avatar altatof
Browse files

FIX: extrafield input for varchar was not working with special char

within (ie double quotes)
parent 983efdd6
Branches
Tags
No related merge requests found
...@@ -763,7 +763,7 @@ class ExtraFields ...@@ -763,7 +763,7 @@ class ExtraFields
} }
elseif ($type == 'phone') elseif ($type == 'phone')
{ {
$out='<input type="text" class="flat" name="'.$keysuffix.'options_'.$key.$keyprefix.'" size="20" value="'.$value.'" '.($moreparam?$moreparam:'').'>'; $out='<input type="text" class="flat" name="'.$keysuffix.'options_'.$key.$keyprefix.'" size="20" value="'.htmlentities($value).'" '.($moreparam?$moreparam:'').'>';
} }
elseif ($type == 'price') elseif ($type == 'price')
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment