[ticket/11628] Fix a bug I noticed in template->destroy

Should not be setting $this->context = array()!

PHPBB3-11628
This commit is contained in:
Nathaniel Guse 2013-07-24 13:34:41 -05:00
parent 8795a354fe
commit 427fa17f7f

View file

@ -282,7 +282,7 @@ class phpbb_template_twig implements phpbb_template
*/ */
public function destroy() public function destroy()
{ {
$this->context = array(); $this->context->clear();
return $this; return $this;
} }