diff options
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) { |