From: <ru...@us...> - 2010-06-07 12:11:19
|
Revision: 7478 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7478&view=rev Author: rurban Date: 2010-06-07 12:11:13 +0000 (Mon, 07 Jun 2010) Log Message: ----------- we force 4.2 Modified Paths: -------------- trunk/lib/XmlElement.php Modified: trunk/lib/XmlElement.php =================================================================== --- trunk/lib/XmlElement.php 2010-06-07 12:10:14 UTC (rev 7477) +++ trunk/lib/XmlElement.php 2010-06-07 12:11:13 UTC (rev 7478) @@ -191,11 +191,7 @@ function _quote ($string) { if (!$string) return $string; - if (check_php_version(4,1) and isset($GLOBALS['charset'])) { - return htmlspecialchars($string, ENT_COMPAT, $GLOBALS['charset']); - } else { - return htmlspecialchars($string); - } + return htmlspecialchars($string, ENT_COMPAT, $GLOBALS['charset']); } }; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |