diff options
author | ytetsuro <phper.0o0@gmail.com> | 2018-02-08 14:08:23 +0100 |
---|---|---|
committer | ytetsuro <phper.0o0@gmail.com> | 2018-02-08 14:08:23 +0100 |
commit | ff1029018a8e5ba7261cdfb71fb3d102c3efc22b (patch) | |
tree | 428ecb876d378bbc2693b72553a18d6b4478f77a /system/helpers/download_helper.php | |
parent | 43538863b7bdd52529c38ad314ffc0f9edbbaa8b (diff) |
Fixed bug that character code did not change
Diffstat (limited to 'system/helpers/download_helper.php')
-rw-r--r-- | system/helpers/download_helper.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/system/helpers/download_helper.php b/system/helpers/download_helper.php index b7a5336b6..a2e28a6e9 100644 --- a/system/helpers/download_helper.php +++ b/system/helpers/download_helper.php @@ -153,9 +153,7 @@ if ( ! function_exists('force_download')) $charset = strtoupper(config_item('charset')); if ($charset !== 'UTF-8') { - $utf8_filename = (UTF8_ENABLED === TRUE) - ? get_instance()->utf8->convert_to_utf8($filename, $charset) - : FALSE; + $utf8_filename = get_instance()->utf8->convert_to_utf8($filename, $charset); } else { |