[-] MO: Fix displayHeader hook in homeFeatured
This commit is contained in:
@@ -49,7 +49,7 @@ class HomeFeatured extends Module
|
||||
|
||||
function install()
|
||||
{
|
||||
if (!Configuration::updateValue('HOME_FEATURED_NBR', 8) OR !parent::install() OR !$this->registerHook('home'))
|
||||
if (!Configuration::updateValue('HOME_FEATURED_NBR', 8) || !parent::install() || !$this->registerHook('home') || !$this->registerHook('displayHeader'))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user