mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-25 09:30:46 +02:00
[ticket/16955] Clean up avatar classes
PHPBB3-16955
This commit is contained in:
@@ -284,6 +284,6 @@ class upload extends \phpbb\avatar\driver\driver
|
||||
*/
|
||||
protected function can_upload()
|
||||
{
|
||||
return $this->php_ini->getBool('file_uploads');
|
||||
return (bool) $this->php_ini->getBool('file_uploads');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user