summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-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;
}