summaryrefslogtreecommitdiffstats
path: root/system/core/Utf8.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-06-04 13:44:34 +0200
committerAndrey Andreev <narf@bofh.bg>2012-06-04 13:44:34 +0200
commit9ba661b02c492e89028e5c67b7edbfc0efefc9f1 (patch)
treed3c3250b2c19b6d009c3fd3fe580b7021ed18a23 /system/core/Utf8.php
parent142b618fb7419972288a8f7b58e7e2509b3bf225 (diff)
Revert/optimize some changes from ed944a3c70a0bad158cd5a6ca5ce1f2e717aff5d
Diffstat (limited to 'system/core/Utf8.php')
-rw-r--r--system/core/Utf8.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Utf8.php b/system/core/Utf8.php
index 2b5a1f5eb..0a7ec501c 100644
--- a/system/core/Utf8.php
+++ b/system/core/Utf8.php
@@ -54,7 +54,7 @@ class CI_Utf8 {
if (
@preg_match('/./u', 'é') === 1 // PCRE must support UTF-8
&& function_exists('iconv') // iconv must be installed
- && @ini_get('mbstring.func_overload') !== 1 // Multibyte string function overloading cannot be enabled
+ && (bool) @ini_get('mbstring.func_overload') !== TRUE // Multibyte string function overloading cannot be enabled
&& $CFG->item('charset') === 'UTF-8' // Application charset must be UTF-8
)
{