[-] MO : fixed bug #PSCFV-5396 - Notices when ordering categories with layered navigation module
This commit is contained in:
@@ -1373,7 +1373,7 @@ class BlockLayered extends Module
|
|||||||
public function hookCategoryUpdate($params)
|
public function hookCategoryUpdate($params)
|
||||||
{
|
{
|
||||||
/* The category status might (active, inactive) have changed, we have to update the layered cache table structure */
|
/* The category status might (active, inactive) have changed, we have to update the layered cache table structure */
|
||||||
if (!$params['category']->active)
|
if (isset($params['category']) && !$params['category']->active)
|
||||||
$this->hookCategoryDeletion($params);
|
$this->hookCategoryDeletion($params);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user