aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/plupload/plupload.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/plupload/plupload.php')
-rw-r--r--phpBB/phpbb/plupload/plupload.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/plupload/plupload.php b/phpBB/phpbb/plupload/plupload.php
index 601b3fb440..f9403938ed 100644
--- a/phpBB/phpbb/plupload/plupload.php
+++ b/phpBB/phpbb/plupload/plupload.php
@@ -305,14 +305,14 @@ class plupload
if ($limit_upload > 0)
{
- $max = min($limit_upload, $max ? $max : $limit_upload);
+ $max = min($limit_upload, ($max ? $max : $limit_upload));
}
$limit_post = $this->php_ini->getBytes('post_max_size');
if ($limit_post > 0)
{
- $max = min($limit_post, $max ? $max : $limit_post);
+ $max = min($limit_post, ($max ? $max : $limit_post));
}
// $config['max_filesize'] is not a limiter to chunk size.