summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/helpers/download_helper.php2
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;
}