diff options
author | Marc Alexander <admin@m-a-styles.de> | 2014-06-24 19:53:32 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2014-06-24 19:53:52 +0200 |
commit | 8b3cc9a6c494ecf7ec3262925b9e0c1381c0154e (patch) | |
tree | 5928193e791a4537312329a26c2d33f61669b6ce /phpBB/includes | |
parent | 309dbb4ef9d6b2c29aa6294002ce1a7d4da2b099 (diff) | |
download | forums-8b3cc9a6c494ecf7ec3262925b9e0c1381c0154e.tar forums-8b3cc9a6c494ecf7ec3262925b9e0c1381c0154e.tar.gz forums-8b3cc9a6c494ecf7ec3262925b9e0c1381c0154e.tar.bz2 forums-8b3cc9a6c494ecf7ec3262925b9e0c1381c0154e.tar.xz forums-8b3cc9a6c494ecf7ec3262925b9e0c1381c0154e.zip |
[ticket/12755] Apply de morgan to conditional
PHPBB3-12755
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/functions_upload.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_upload.php b/phpBB/includes/functions_upload.php index daa3550205..69f10911ec 100644 --- a/phpBB/includes/functions_upload.php +++ b/phpBB/includes/functions_upload.php @@ -806,7 +806,7 @@ class fileupload $length = false; $timer_stop = time() + $this->upload_timeout; - while (!($length && $filesize >= $length) && !@feof($fsock)) + while ((!$length || $filesize < $length) && !@feof($fsock)) { if ($get_info) { |