From e60c8a5a8bfa1aa500c096ea90cd32fda9465f9a Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Mon, 7 Sep 2015 22:52:20 +0200 Subject: [ticket/13904] Improve code coverage PHPBB3-13904 --- phpBB/phpbb/files/types/remote.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/phpbb') 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) { -- cgit v1.2.1