* Solve the problem of adding projects to the classic version.

This commit is contained in:
tianshujie98
2021-04-02 13:43:14 +08:00
parent b09b212763
commit b1d9b5d1d4
5 changed files with 26 additions and 20 deletions
+2 -2
View File
@@ -1203,7 +1203,7 @@ class execution extends control
}
elseif($this->app->openApp == 'execution')
{
$executionID = key($this->executions);
if($this->config->systemMode == 'new') $executionID = key($this->executions);
$this->execution->setMenu($executionID);
}
@@ -1297,7 +1297,7 @@ class execution extends control
}
}
$this->view->title = $this->lang->execution->create;
$this->view->title = (($this->app->openApp == 'execution') and ($this->config->systemMode == 'new')) ? $this->lang->execution->createExec : $this->lang->execution->create;
$this->view->position[] = $this->view->title;
$this->view->executions = array('' => '') + $this->execution->getList();
$this->view->groups = $this->loadModel('group')->getPairs();