* Fix bug #27665 and hidden product menu.
This commit is contained in:
@@ -120,6 +120,8 @@ class executionModel extends model
|
||||
$this->cookie->executionMode = 'all';
|
||||
}
|
||||
|
||||
if(empty($execution->hasProduct)) unset($this->lang->execution->menu->settings['subMenu']->products);
|
||||
|
||||
$this->lang->switcherMenu = $this->getSwitcher($executionID, $this->app->rawModule, $this->app->rawMethod);
|
||||
common::setMenuVars('execution', $executionID);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user