mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/13804] Remove unnecessary array_merge
PHPBB3-13804
This commit is contained in:
@@ -359,12 +359,7 @@ class twig extends \phpbb\template\base
|
||||
|
||||
if ($this->user instanceof \phpbb\user)
|
||||
{
|
||||
$vars = array_merge(
|
||||
$vars,
|
||||
array(
|
||||
'user' => $this->user,
|
||||
)
|
||||
);
|
||||
$vars['user'] = $this->user;
|
||||
}
|
||||
|
||||
// cleanup
|
||||
|
Reference in New Issue
Block a user