mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Merge branch '3.3.x'
This commit is contained in:
@@ -88,7 +88,10 @@ class twig extends \phpbb\template\base
|
||||
|
||||
foreach ($extensions as $extension)
|
||||
{
|
||||
$this->twig->addExtension($extension);
|
||||
if (!$this->twig->hasExtension(get_class($extension)))
|
||||
{
|
||||
$this->twig->addExtension($extension);
|
||||
}
|
||||
}
|
||||
|
||||
// Add admin namespace
|
||||
|
Reference in New Issue
Block a user