* Finish task #69016.
This commit is contained in:
@@ -851,6 +851,14 @@ class project extends control
|
||||
|
||||
$this->executeHooks($projectID);
|
||||
|
||||
if(empty($project->hasProduct))
|
||||
{
|
||||
$projectProduct = $this->dao->select('product')->from(TABLE_PROJECTPRODUCT)->where('project')->eq($projectID)->fetch()->product;
|
||||
$this->lang->project->moduleMenu['link'] = sprintf($this->lang->project->moduleMenu['link'], $projectProduct);
|
||||
$this->lang->project->menu->settings['subMenu']->tree = $this->lang->project->moduleMenu;
|
||||
unset($this->lang->project->menu->settings['subMenu']->products);
|
||||
}
|
||||
|
||||
$this->view->title = $this->lang->project->view;
|
||||
$this->view->position = $this->lang->project->view;
|
||||
$this->view->projectID = $projectID;
|
||||
|
||||
Reference in New Issue
Block a user