diff options
author | paulburdick <devnull@localhost> | 2007-06-24 22:27:42 +0200 |
---|---|---|
committer | paulburdick <devnull@localhost> | 2007-06-24 22:27:42 +0200 |
commit | 3c5e373a2c95ba06b8d5b9820f53a72bea2f5681 (patch) | |
tree | 2319ecabf11a60f8cd4a3f0642dcd254c4083c76 | |
parent | bc03091cd30ae09a5156b66caa7cef4493569774 (diff) |
Fixed the do_xss_clean() method so that if file_get_contents returns FALSE, then we return FALSE...
Previously, if it did NOT return FALSE we returned FALSE and that is simply idiotic.
-rw-r--r-- | system/libraries/Upload.php | 2 |
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;
}
|