This commit is contained in:
liumengyi
2024-04-19 10:43:37 +08:00
parent a39c90de08
commit b4346d0d50
+12 -2
View File
@@ -517,9 +517,19 @@ class story extends control
if($this->app->tab == 'project')
{
$projectID = $param ? $param : $this->session->project;
$this->loadModel('project')->setMenu((int)$projectID);
$project = $this->loadModel('project')->fetchByID($projectID);
$this->view->projectID = $projectID;
$this->view->project = $this->project->fetchByID($projectID);
$this->view->project = $project;
if(!$project->multiple)
{
$this->project->setMenu((int)$project->project);
$this->view->executionID = $projectID;
$this->view->execution = $project;
}
else
{
$this->project->setMenu((int)$projectID);
}
}
elseif($this->app->tab == 'execution')
{