diff options
Diffstat (limited to 'system/core/compat/mbstring.php')
-rw-r--r-- | system/core/compat/mbstring.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/compat/mbstring.php b/system/core/compat/mbstring.php index 91ea8017c..314dbe9ba 100644 --- a/system/core/compat/mbstring.php +++ b/system/core/compat/mbstring.php @@ -63,7 +63,7 @@ if ( ! function_exists('mb_strlen')) { if (ICONV_ENABLED === TRUE) { - return iconv_strlen($str, isset($charset) ? $charset : config_item('charset')); + return iconv_strlen($str, isset($encoding) ? $encoding : config_item('charset')); } log_message('debug', 'Compatibility (mbstring): iconv_strlen() is not available, falling back to strlen().'); |