diff options
Diffstat (limited to 'system/libraries/Upload.php')
-rw-r--r-- | system/libraries/Upload.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php index 29711bbbc..f5534a7f7 100644 --- a/system/libraries/Upload.php +++ b/system/libraries/Upload.php @@ -338,11 +338,9 @@ class CI_Upload { $this->$key = $defaults[$key]; } } - } else { - foreach ($config as $key => &$value) { if ($key[0] !== '_' && $reflection->hasProperty($key)) @@ -357,7 +355,6 @@ class CI_Upload { } } } - } // if a file_name was provided in the config, use it instead of the user input |