mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 07:18:08 +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)
|
if ($this->user instanceof \phpbb\user)
|
||||||
{
|
{
|
||||||
$vars = array_merge(
|
$vars['user'] = $this->user;
|
||||||
$vars,
|
|
||||||
array(
|
|
||||||
'user' => $this->user,
|
|
||||||
)
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// cleanup
|
// cleanup
|
||||||
|
Reference in New Issue
Block a user