mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 18:38:53 +00:00
[ticket/13804] Remove unnecessary array_merge
PHPBB3-13804
This commit is contained in:
parent
7b301e22f3
commit
281f2ef2da
1 changed files with 1 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue