summaryrefslogtreecommitdiffstats
path: root/system/helpers/download_helper.php
diff options
context:
space:
mode:
authorgxgpet <gxgpet@users.noreply.github.com>2016-11-01 09:44:32 +0100
committerGitHub <noreply@github.com>2016-11-01 09:44:32 +0100
commit54a1138a864a9d2d3ce7ef6d4b9d22df86440bb5 (patch)
tree96958591075843684012f510b8ba02927907d4dc /system/helpers/download_helper.php
parent627b050e89ea3e9794e7ad03c28aeb770417357a (diff)
Fixed coding style (this time for real)
Diffstat (limited to 'system/helpers/download_helper.php')
-rw-r--r--system/helpers/download_helper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/helpers/download_helper.php b/system/helpers/download_helper.php
index 4bab69005..eb714c1ff 100644
--- a/system/helpers/download_helper.php
+++ b/system/helpers/download_helper.php
@@ -70,12 +70,12 @@ if ( ! function_exists('force_download'))
elseif ($data === NULL)
{
// Is $filename an array as ['local source path' => 'destination filename']?
- if(is_array($filename) && count($filename) == 1)
+ if (is_array($filename) && count($filename) == 1)
{
$filepath = key($filename);
$filename = current($filename);
- if(is_int($filepath))
+ if (is_int($filepath))
{
return;
}