mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ class phpbb_template_twig implements phpbb_template
|
|||
*/
|
||||
public function destroy()
|
||||
{
|
||||
$this->context = array();
|
||||
$this->context->clear();
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue