aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/template/twig/twig.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/phpBB/phpbb/template/twig/twig.php b/phpBB/phpbb/template/twig/twig.php
index ab349cc740..6b3cf32bc8 100644
--- a/phpBB/phpbb/template/twig/twig.php
+++ b/phpBB/phpbb/template/twig/twig.php
@@ -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