From e86d8d5b34ce2c141f345048a7bbabea02d840bc Mon Sep 17 00:00:00 2001 From: Hector Cortez Date: Thu, 14 Apr 2011 09:26:29 -0400 Subject: [PATCH] BUG 6673 Change to textarea element by imput text --- gulliver/system/class.xmlform.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gulliver/system/class.xmlform.php b/gulliver/system/class.xmlform.php index 1c850c320..d274f85c9 100644 --- a/gulliver/system/class.xmlform.php +++ b/gulliver/system/class.xmlform.php @@ -1129,7 +1129,8 @@ class XmlForm_Field_Suggest extends XmlForm_Field_SimpleText //by neyek if ($this->readOnly) { return 'htmlentities ( $value, ENT_COMPAT, 'utf-8' ) . '\' readOnly="readOnly" style="' . htmlentities ( $this->style, ENT_COMPAT, 'utf-8' ) . '" onkeypress="' . htmlentities ( $onkeypress, ENT_COMPAT, 'utf-8' ) . '"/>'; } else { - $str = ''; +// $str = ''; + $str = ''.$this->htmlentities($value, ENT_COMPAT, 'utf-8').''; if($this->hint){ $str .= ''; }