From 154a28f1186e2539c50b659232b95ae4f967e78a Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Sun, 14 Aug 2022 01:08:52 +0200 Subject: [PATCH] remove extra config item for current theme it will displayed in shop tab --- Application/Models/Collectors/SmartyCollector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Models/Collectors/SmartyCollector.php b/Application/Models/Collectors/SmartyCollector.php index c73154f..5af0e78 100644 --- a/Application/Models/Collectors/SmartyCollector.php +++ b/Application/Models/Collectors/SmartyCollector.php @@ -69,7 +69,7 @@ class SmartyCollector extends DataCollector implements Renderable */ public function collect(): array { - $data = ['current view template' => Registry::getConfig()->getTopActiveView()->getTemplateName()]; + $data = []; $vars = $this->smarty->get_template_vars();