From: <ru...@us...> - 2009-08-24 12:29:54
|
Revision: 7085 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7085&view=rev Author: rurban Date: 2009-08-24 12:29:44 +0000 (Mon, 24 Aug 2009) Log Message: ----------- easy debugging Modified Paths: -------------- trunk/lib/XmlElement.php Modified: trunk/lib/XmlElement.php =================================================================== --- trunk/lib/XmlElement.php 2009-08-24 12:29:06 UTC (rev 7084) +++ trunk/lib/XmlElement.php 2009-08-24 12:29:44 UTC (rev 7085) @@ -191,10 +191,11 @@ function _quote ($string) { if (!$string) return $string; - if (check_php_version(4,1) and isset($GLOBALS['charset'])) + if (check_php_version(4,1) and isset($GLOBALS['charset'])) { return htmlspecialchars($string, ENT_COMPAT, $GLOBALS['charset']); - else + } else { return htmlspecialchars($string); + } } }; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |