diff options
-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 3b0e044ae..f37b3867e 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 |