aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2013-07-24 13:34:41 -0500
committerNathaniel Guse <nathaniel.guse@gmail.com>2013-07-24 13:34:41 -0500
commit427fa17f7fd9db6f69a6cb4634198a2f484e0bd9 (patch)
treeb14a2a4be899d91fa483697c0e1d89888d80fad6 /phpBB/phpbb
parent8795a354fed4e78b64cce531e6deaec9aa4d56f8 (diff)
downloadforums-427fa17f7fd9db6f69a6cb4634198a2f484e0bd9.tar
forums-427fa17f7fd9db6f69a6cb4634198a2f484e0bd9.tar.gz
forums-427fa17f7fd9db6f69a6cb4634198a2f484e0bd9.tar.bz2
forums-427fa17f7fd9db6f69a6cb4634198a2f484e0bd9.tar.xz
forums-427fa17f7fd9db6f69a6cb4634198a2f484e0bd9.zip
[ticket/11628] Fix a bug I noticed in template->destroy
Should not be setting $this->context = array()! PHPBB3-11628
Diffstat (limited to 'phpBB/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;
}