Fixed a quoting bug.
This commit is contained in:
parent
3c932f0143
commit
285fd75ced
1 changed files with 1 additions and 1 deletions
|
|
@ -1176,8 +1176,8 @@ sub template {
|
||||||
|
|
||||||
sub text {
|
sub text {
|
||||||
my ($size, $maxLength, $value);
|
my ($size, $maxLength, $value);
|
||||||
$value = _fixQuotes($_[0]->{value});
|
|
||||||
$value = _fixSpecialCharacters($value);
|
$value = _fixSpecialCharacters($value);
|
||||||
|
$value = _fixQuotes($_[0]->{value});
|
||||||
$maxLength = $_[0]->{maxlength} || 255;
|
$maxLength = $_[0]->{maxlength} || 255;
|
||||||
$size = $_[0]->{size} || $session{setting}{textBoxSize} || 30;
|
$size = $_[0]->{size} || $session{setting}{textBoxSize} || 30;
|
||||||
return '<input type="text" name="'.$_[0]->{name}.'" value="'.$value.'" size="'.
|
return '<input type="text" name="'.$_[0]->{name}.'" value="'.$value.'" size="'.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue