aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB')
-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 0b5b4105ae..710411c594 100644
--- a/phpBB/phpbb/template/twig/twig.php
+++ b/phpBB/phpbb/template/twig/twig.php
@@ -282,7 +282,7 @@ class phpbb_template_twig implements phpbb_template
*/
public function destroy()
{
- $this->context = array();
+ $this->context->clear();
return $this;
}