parent
2a4fdd12d7
commit
6cdad7c5c1
|
@ -874,9 +874,13 @@ class Module
|
|||
'urlParams' => array('name' => $this->getName()),
|
||||
'label' => 'Module: ' . $this->getName()
|
||||
));
|
||||
foreach ($this->configTabs as $name => $config) {
|
||||
$tabs->add($name, $config);
|
||||
|
||||
if ($this->app->getModuleManager()->hasEnabled($this->name)) {
|
||||
foreach ($this->configTabs as $name => $config) {
|
||||
$tabs->add($name, $config);
|
||||
}
|
||||
}
|
||||
|
||||
return $tabs;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue