mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-24 19:08: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)
|
if ($this->user instanceof \phpbb\user)
|
||||||
{
|
{
|
||||||
$vars = array_merge(
|
$vars['user'] = $this->user;
|
||||||
$vars,
|
|
||||||
array(
|
|
||||||
'user' => $this->user,
|
|
||||||
)
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// cleanup
|
// cleanup
|
||||||
|
|
Loading…
Add table
Reference in a new issue