From e97fcdc5c8d6fbf33a91a97aecb117ff6ae9402f Mon Sep 17 00:00:00 2001 From: Julio Cesar Laura Date: Thu, 10 Apr 2014 12:52:13 -0400 Subject: [PATCH] BUGS 14025 and 14476 IMPROVEMENETS --- gulliver/system/class.xmlform.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gulliver/system/class.xmlform.php b/gulliver/system/class.xmlform.php index 0bb5b843e..d1aec3477 100755 --- a/gulliver/system/class.xmlform.php +++ b/gulliver/system/class.xmlform.php @@ -1491,7 +1491,10 @@ class XmlForm_Field_Suggest extends XmlForm_Field_SimpleText //by neyek return $str; } } else { - return $this->htmlentities( $formVariableValue, ENT_COMPAT, 'utf-8' ); + $html = ''; + $html .= $this->htmlentities($formVariableValue, ENT_COMPAT, 'utf-8'); + $html .= ''; + return $html; } } @@ -2682,7 +2685,7 @@ class XmlForm_Field_YesNo extends XmlForm_Field } } else { //VIEW MODE - $html .= ''; + $html .= ''; $html .= ($value === '0') ? G::LoadTranslation( 'ID_NO_VALUE' ) : G::LoadTranslation( 'ID_YES_VALUE' ); $html .= 'name . ']" ';