Merge branch 'release/21.7.7' into feature/workflowgroup

This commit is contained in:
sunguangming
2025-11-04 00:01:51 +00:00
6069 changed files with 738057 additions and 51746 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ class programplan extends control
{
$this->loadModel('doc');
$projects = $this->loadModel('project')->getPairsByModel(array('ipd', 'waterfall', 'waterfallplus'));
if(empty($projects)) return $this->send(array('result' => 'fail', 'message' => $this->lang->programplan->error->noProject));
if(empty($projects)) return $this->send(array('result' => 'fail', 'message' => $this->config->edition == 'ipd' ? $this->lang->programplan->error->noProject4IPD : $this->lang->programplan->error->noProject));
if(!$projectID) $projectID = key($projects);
$this->view->projects = $projects;