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:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user