aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-07-15 13:35:38 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-09-09 08:27:57 +0200
commitf9b69e73d4b754c7c5bab52d16b2df98812e5570 (patch)
treef693234b7c6db959b3dd3b1bf2141517db1c2a8e /phpBB/phpbb/files
parent[ticket/13904] Move form_upload to its own class and define type classes (diff)
downloadphpbb-f9b69e73d4b754c7c5bab52d16b2df98812e5570.tar.gz
phpbb-f9b69e73d4b754c7c5bab52d16b2df98812e5570.tar.bz2
phpbb-f9b69e73d4b754c7c5bab52d16b2df98812e5570.zip
[ticket/13904] Fix minor coding issues and don't use form_upload anymore
PHPBB3-13904
Diffstat (limited to 'phpBB/phpbb/files')
-rw-r--r--phpBB/phpbb/files/types/form.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/files/types/form.php b/phpBB/phpbb/files/types/form.php
index 5c5c332906..d82df46fac 100644
--- a/phpBB/phpbb/files/types/form.php
+++ b/phpBB/phpbb/files/types/form.php
@@ -52,7 +52,7 @@ class form implements type_interface
public function upload()
{
$args = func_get_args();
- return $this->form_upload($args[0], $args[1]);
+ return $this->form_upload($args[0], (isset($args[1])) ? $args[1] : null);
}
/**