Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Typo in test.ServerEncoding.php
Browse files Browse the repository at this point in the history
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
  • Loading branch information
Etienne CHAMPETIER committed Dec 2, 2013
1 parent c53c56f commit 9e348d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/core/tests/test.ServerEncoding.php
Expand Up @@ -47,7 +47,7 @@ public function doTest()
}
// Check if we have iconv
if (!function_exists("iconv") && floatval(phpversion()) > 5.0) { $this->failedInfo .= "Couldn't find iconv. Please use a PHP version with iconv support"; return FALSE; }
if (floatval(phpversion) > 5.0) {
if (floatval(phpversion()) > 5.0) {
// Try converting from a known UTF-8 string to ISO8859-1 string and back to make sure it works.
$string = "aéàç";
$iso = iconv("UTF-8", "ISO-8859-1", $string);
Expand Down

0 comments on commit 9e348d3

Please sign in to comment.