diff options
author | George PETCULESCU <george.petculescu@zitec.com> | 2016-10-31 13:08:36 +0100 |
---|---|---|
committer | George PETCULESCU <george.petculescu@zitec.com> | 2016-10-31 13:08:36 +0100 |
commit | b907c8ad41dfb4a9394b3a73182f0abf7fe14f94 (patch) | |
tree | aa0e9782fd0665fc23d095b7bdb0800c5ba2e1df /system/helpers | |
parent | c953c128649e06bb1a3594e56459cf14bdb6e048 (diff) |
fixed coding style (2)
Diffstat (limited to 'system/helpers')
-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 32ee773bb..9158272ef 100644 --- a/system/helpers/download_helper.php +++ b/system/helpers/download_helper.php @@ -70,7 +70,7 @@ if ( ! function_exists('force_download')) elseif ($data === NULL) { // Is $filename an array as ['local source path' => 'destination filename']? - if(is_array($filename) && count($filename)) + if(is_array($filename) && count($filename) == 1) { $filepath = key($filename); $filename = current($filename); |