From 38d5f4b98a55012361fc30c4f3e0daa489ca8e21 Mon Sep 17 00:00:00 2001 From: Darren Benney Date: Sat, 30 Mar 2013 21:00:38 +0000 Subject: Reverted indenting spaces back to tabs. (My fault - Sorry!) --- system/libraries/Upload.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'system') diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php index 4751a850f..82b46f094 100644 --- a/system/libraries/Upload.php +++ b/system/libraries/Upload.php @@ -1078,15 +1078,15 @@ class CI_Upload { if ( ! is_array($msg)) { - $msg = array($msg); - } - - foreach ($msg as $val) - { - $msg = ($CI->lang->line($val) === FALSE) ? $val : $CI->lang->line($val); - $this->error_msg[] = $msg; - log_message('error', $msg); - } + $msg = array($msg); + } + + foreach ($msg as $val) + { + $msg = ($CI->lang->line($val) === FALSE) ? $val : $CI->lang->line($val); + $this->error_msg[] = $msg; + log_message('error', $msg); + } } // -------------------------------------------------------------------- -- cgit v1.2.3-24-g4f1b