1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/13904] Fix minor coding issues and don't use form_upload anymore

PHPBB3-13904
This commit is contained in:
Marc Alexander
2015-07-15 13:35:38 +02:00
parent 11b2c938c6
commit f9b69e73d4
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
}
/**