mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user