FIX: extrafield input for varchar was not working with special char
within (ie double quotes)
This commit is contained in:
parent
983efdd6ee
commit
487b5b25db
@ -763,7 +763,7 @@ class ExtraFields
|
||||
}
|
||||
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')
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user