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:
parent
8795a354fe
commit
427fa17f7f
@ -282,7 +282,7 @@ class phpbb_template_twig implements phpbb_template
|
||||
*/
|
||||
public function destroy()
|
||||
{
|
||||
$this->context = array();
|
||||
$this->context->clear();
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user