summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorDarren Benney <cutenfuzzy@gmail.com>2013-03-30 22:00:38 +0100
committerDarren Benney <cutenfuzzy@gmail.com>2013-03-30 22:00:38 +0100
commit38d5f4b98a55012361fc30c4f3e0daa489ca8e21 (patch)
treee09e5e1e0b70ee3fbc45fe94dea3762799010fd2 /system
parent4a8d1907d5fc5c054a24130cece8fe738ba46167 (diff)
Reverted indenting spaces back to tabs.
(My fault - Sorry!)
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Upload.php18
1 files changed, 9 insertions, 9 deletions
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);
+ }
}
// --------------------------------------------------------------------