From 01654c62f49a2b31f0f867efd43d755e8d1dd331 Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Thu, 5 Jul 2012 08:55:41 +0000 Subject: [PATCH] //fixed smarty cache on block category --- modules/blockcategories/blockcategories.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/blockcategories/blockcategories.php b/modules/blockcategories/blockcategories.php index 814e49ed4..a8950fbd2 100644 --- a/modules/blockcategories/blockcategories.php +++ b/modules/blockcategories/blockcategories.php @@ -52,7 +52,7 @@ class BlockCategories extends Module !$this->registerHook('categoryAddition') || !$this->registerHook('categoryUpdate') || !$this->registerHook('categoryDeletion') || - !$this->registerHook('actionAdminMetaControllerUpdate_optionsAfter') || + !$this->registerHook('actionAdminMetaControllerUpdate_optionsBefore') || !Configuration::updateValue('BLOCK_CATEG_MAX_DEPTH', 4) || !Configuration::updateValue('BLOCK_CATEG_DHTML', 1)) return false; @@ -340,7 +340,7 @@ class BlockCategories extends Module $this->_clearBlockcategoriesCache(); } - public function hookActionAdminMetaControllerUpdate_optionsAfter($params) + public function hookActionAdminMetaControllerUpdate_optionsBefore($params) { $this->_clearBlockcategoriesCache(); }