mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Merge branch '3.2.x'
This commit is contained in:
commit
710d3e921c
1 changed files with 1 additions and 2 deletions
|
@ -170,8 +170,7 @@ class extension extends \Twig_Extension
|
||||||
$args = func_get_args();
|
$args = func_get_args();
|
||||||
$key = $args[0];
|
$key = $args[0];
|
||||||
|
|
||||||
$context = $this->context->get_data_ref();
|
$context_vars = $this->context->get_root_ref();
|
||||||
$context_vars = $context['.'][0];
|
|
||||||
|
|
||||||
if (isset($context_vars['L_' . $key]))
|
if (isset($context_vars['L_' . $key]))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue