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 dc3fd4a12..9d2bae2ae 100644
--- a/system/libraries/Upload.php
+++ b/system/libraries/Upload.php
@@ -709,7 +709,7 @@ class CI_Upload {
return FALSE;
}
- if (($data = @file_get_contents($file)) !== FALSE)
+ if (($data = @file_get_contents($file)) === FALSE)
{
return FALSE;
}