mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-21 08:00:46 +01:00
Merge branch '3.1.x' into 3.2.x
This commit is contained in:
commit
166320ef9e
@ -170,8 +170,7 @@ class extension extends \Twig_Extension
|
||||
$args = func_get_args();
|
||||
$key = $args[0];
|
||||
|
||||
$context = $this->context->get_data_ref();
|
||||
$context_vars = $context['.'][0];
|
||||
$context_vars = $this->context->get_root_ref();
|
||||
|
||||
if (isset($context_vars['L_' . $key]))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user