* Finish task #41560.

This commit is contained in:
tianshujie98
2021-08-18 15:12:45 +08:00
parent 8153dbc094
commit e2c1af5541
+1 -1
View File
@@ -2666,7 +2666,7 @@ class execution extends control
if($this->config->systemMode == 'new')
{
$type = $this->dao->findById($objectID)->from(TABLE_PROJECT)->fetch('type');
$type = $type == 'project' ? $type : 'execution';
if($type != 'project') $type = 'execution';
}
$users = $this->loadModel('user')->getPairs('nodeleted|noclosed');