summaryrefslogtreecommitdiffstats
path: root/system/helpers/download_helper.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2018-02-14 15:55:31 +0100
committerGitHub <noreply@github.com>2018-02-14 15:55:31 +0100
commitc0b0e763425c88342efa226f22b2758169c6cb0f (patch)
treeb10dad36da2c3de127f3dec4d0829288458b9b06 /system/helpers/download_helper.php
parentc82f3236069fae1f21a0900b026d346752d089c9 (diff)
parentb7ca09f989ae344682395d16402bcf07062dd655 (diff)
[ci skip] Merge pull request #5412 from ytetsuro/delete-unnecessary-assignment-expressions
Delete unnecessary assignment for force_download.
Diffstat (limited to 'system/helpers/download_helper.php')
-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 000e4c707..901e3277c 100644
--- a/system/helpers/download_helper.php
+++ b/system/helpers/download_helper.php
@@ -151,7 +151,7 @@ if ( ! function_exists('force_download'))
// so we have to make it conditional ...
$charset = strtoupper(config_item('charset'));
$utf8_filename = ($charset !== 'UTF-8')
- ? $utf8_filename = get_instance()->utf8->convert_to_utf8($filename, $charset)
+ ? get_instance()->utf8->convert_to_utf8($filename, $charset)
: $filename;
isset($utf8_filename[0]) && $utf8_filename = " filename*=UTF-8''".rawurlencode($utf8_filename);