summaryrefslogtreecommitdiffstats
path: root/system/libraries/Upload.php
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2008-05-08 21:55:35 +0200
committerDerek Jones <derek.jones@ellislab.com>2008-05-08 21:55:35 +0200
commit8e94646b3147d5f9f70ad09b4cc0aff284b93a98 (patch)
tree6f8127a5ad347df74188930e9f8d3b6f012bf00d /system/libraries/Upload.php
parent84ff799b603b8e65440f4a9ec55005fc284d4219 (diff)
removed extraneous error message from Upload lib on failure of validate_upload_path()
http://codeigniter.com/bug_tracker/bug/4390/
Diffstat (limited to 'system/libraries/Upload.php')
-rw-r--r--system/libraries/Upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php
index 0fc38dc4f..317cf9560 100644
--- a/system/libraries/Upload.php
+++ b/system/libraries/Upload.php
@@ -144,7 +144,7 @@ class CI_Upload {
// Is the upload path valid?
if (! $this->validate_upload_path())
{
- $this->set_error('upload_no_filepath');
+ // errors will already be set by validate_upload_path() so just return FALSE
return FALSE;
}