aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/template/twig/twig.php
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2014-01-27 18:51:39 -0800
committerMatt Friedman <maf675@gmail.com>2014-01-27 18:51:39 -0800
commit75c54f7f5e4170ad6d826b1d20725da712098c43 (patch)
tree141e0a0390be177ee5066e8341f92e7be15a61f1 /phpBB/phpbb/template/twig/twig.php
parent5553f33f3dfbf309decfafceeb3c145f37aa23e3 (diff)
downloadforums-75c54f7f5e4170ad6d826b1d20725da712098c43.tar
forums-75c54f7f5e4170ad6d826b1d20725da712098c43.tar.gz
forums-75c54f7f5e4170ad6d826b1d20725da712098c43.tar.bz2
forums-75c54f7f5e4170ad6d826b1d20725da712098c43.tar.xz
forums-75c54f7f5e4170ad6d826b1d20725da712098c43.zip
[ticket/12100] Ensure enabled extensions are fresh in Twig environment
PHPBB3-12100
Diffstat (limited to 'phpBB/phpbb/template/twig/twig.php')
-rw-r--r--phpBB/phpbb/template/twig/twig.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/template/twig/twig.php b/phpBB/phpbb/template/twig/twig.php
index ddadcfd89a..b05beeca7d 100644
--- a/phpBB/phpbb/template/twig/twig.php
+++ b/phpBB/phpbb/template/twig/twig.php
@@ -94,7 +94,7 @@ class twig extends \phpbb\template\base
$this->twig = new \phpbb\template\twig\environment(
$this->config,
- ($this->extension_manager) ? $this->extension_manager->all_enabled() : array(),
+ $this->extension_manager,
$this->path_helper,
$loader,
array(