diff options
author | ytetsuro <phper.0o0@gmail.com> | 2018-02-05 15:04:17 +0100 |
---|---|---|
committer | ytetsuro <phper.0o0@gmail.com> | 2018-02-05 16:12:28 +0100 |
commit | e5d719d822646a7c0bcd1a2732eb8fe19357444a (patch) | |
tree | 785ab8c7db9c584052f18b32e566657b711b81af /system/helpers/download_helper.php | |
parent | a70cdc5a9ed9e181e9f76fdc94006f3cc20198cd (diff) |
Determine exactly whether converted filename is false
Diffstat (limited to 'system/helpers/download_helper.php')
-rw-r--r-- | system/helpers/download_helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/download_helper.php b/system/helpers/download_helper.php index fdca76830..344fd4e9a 100644 --- a/system/helpers/download_helper.php +++ b/system/helpers/download_helper.php @@ -152,7 +152,7 @@ if ( ! function_exists('force_download')) if (strtoupper($encoding) !== 'UTF-8') { $converted_filename = get_instance()->utf8->convert_to_utf8($utf8_filename, $encoding); - if ($converted_filename) + if ($converted_filename !== FALSE) { $utf8_filename = $converted_filename; } |