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 .= ''; }