Skip to content

Commit 166320e

Browse files
committed
Merge branch '3.1.x' into 3.2.x
2 parents f423c28 + 9d7acd1 commit 166320e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

phpBB/phpbb/template/twig/extension.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,7 @@ function lang()
170170
$args = func_get_args();
171171
$key = $args[0];
172172

173-
$context = $this->context->get_data_ref();
174-
$context_vars = $context['.'][0];
173+
$context_vars = $this->context->get_root_ref();
175174

176175
if (isset($context_vars['L_' . $key]))
177176
{

0 commit comments

Comments
 (0)