diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-09-07 22:52:20 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-09-09 08:29:12 +0200 |
commit | e60c8a5a8bfa1aa500c096ea90cd32fda9465f9a (patch) | |
tree | 02f64e263e49e0dc61a267e45cf66143e4d6070a /phpBB/phpbb/files | |
parent | [ticket/13904] Add unit tests for local upload type (diff) | |
download | phpbb-e60c8a5a8bfa1aa500c096ea90cd32fda9465f9a.tar.gz phpbb-e60c8a5a8bfa1aa500c096ea90cd32fda9465f9a.tar.bz2 phpbb-e60c8a5a8bfa1aa500c096ea90cd32fda9465f9a.zip |
[ticket/13904] Improve code coverage
PHPBB3-13904
Diffstat (limited to 'phpBB/phpbb/files')
-rw-r--r-- | phpBB/phpbb/files/types/remote.php | 4 |
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) { |