diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-03-20 15:39:16 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-03-20 15:39:16 +0100 |
commit | c082292f0678b71b8c3d323ea74f847ed4da100e (patch) | |
tree | 0fa0426f288e8f929ff50849e3c54f723ac52bcc /system/libraries/Trackback.php | |
parent | 56c879a870600b3e3ffce586c849d53e85f93674 (diff) | |
parent | 4d1167149a9bad94bdc6a6947525d4c610f0e3aa (diff) |
Merge upstream branch
Diffstat (limited to 'system/libraries/Trackback.php')
-rw-r--r-- | system/libraries/Trackback.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Trackback.php b/system/libraries/Trackback.php index 79a009133..be1de6f3f 100644 --- a/system/libraries/Trackback.php +++ b/system/libraries/Trackback.php @@ -2,7 +2,7 @@ /** * CodeIgniter * - * An open source application development framework for PHP 5.1.6 or newer + * An open source application development framework for PHP 5.2.4 or newer * * NOTICE OF LICENSE * @@ -141,7 +141,7 @@ class CI_Trackback { $this->data['charset'] = ( ! isset($_POST['charset'])) ? 'auto' : strtoupper(trim($_POST['charset'])); - if ($val != 'url' && function_exists('mb_convert_encoding')) + if ($val != 'url' && MB_ENABLED === TRUE) { $_POST[$val] = mb_convert_encoding($_POST[$val], $this->charset, $this->data['charset']); } |