1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-05 07:07:51 +02:00

[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()
{
$this->context = array();
$this->context->clear();
return $this;
}