* Finish task #7721.

This commit is contained in:
Yagami
2020-08-31 13:34:32 +08:00
parent 05a4a31426
commit 116a7e43b3
43 changed files with 278 additions and 279 deletions
+2 -2
View File
@@ -65,7 +65,7 @@ class projectModel extends model
$program = $this->getByID($this->session->program);
if(empty($projects))
{
if($program->template == 'cmmi')
if($program->template == 'waterfall')
{
if(($this->app->moduleName == 'programplan' && $this->app->methodName != 'create') || $this->app->moduleName == 'project') die(js::locate(helper::createLink('programplan', 'create', "progarmID=$program->id")));
}
@@ -863,7 +863,7 @@ class projectModel extends model
->orderBy('t1.order desc')
->fetchAll('id');
if($program->template == 'cmmi')
if($program->template == 'waterfall')
{
foreach($projects as $projectID => $project)
{