From 6eabc44da3b9136baa08aa1960deb91021f21d36 Mon Sep 17 00:00:00 2001 From: Prestasafe Date: Thu, 28 Mar 2024 17:22:45 +0100 Subject: [PATCH] remove dupplicate on subitem --- _dev/src/components/MenuItem.vue | 2 +- classes/TplSettings.php | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/_dev/src/components/MenuItem.vue b/_dev/src/components/MenuItem.vue index 55332514..e43c82ac 100644 --- a/_dev/src/components/MenuItem.vue +++ b/_dev/src/components/MenuItem.vue @@ -108,7 +108,7 @@ const highLightBlock = () => { - + diff --git a/classes/TplSettings.php b/classes/TplSettings.php index 569c5c83..2166f5b9 100644 --- a/classes/TplSettings.php +++ b/classes/TplSettings.php @@ -33,9 +33,7 @@ private static function getVars() { $cache_id = 'PrettyBlocks::getVars'; if (!Cache::isStored($cache_id)) { - // $smarty_vars = Context::getContext()->smarty->getTemplateVars(); $smarty_vars = Hook::exec('ActionFrontControllerSetVariables', [], null, true); - // dump($smarty_vars); Cache::store($cache_id, $smarty_vars); }