aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/files/types/remote.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/files/types/remote.php b/phpBB/phpbb/files/types/remote.php
index b5a0dade11..34ee97f1c9 100644
--- a/phpBB/phpbb/files/types/remote.php
+++ b/phpBB/phpbb/files/types/remote.php
@@ -235,10 +235,10 @@ class remote extends base
{
$max_file_size = $this->php_ini->getString('upload_max_filesize');
- if (!empty($max_filesize))
+ if (!empty($max_file_size))
{
$unit = strtolower(substr($max_file_size, -1, 1));
- $max_file_size = (int) $max_filesize;
+ $max_file_size = (int) $max_file_size;
switch ($unit)
{