summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/helpers/download_helper.php4
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
{