* Code for task #43998.
This commit is contained in:
@@ -1862,8 +1862,12 @@ class projectModel extends model
|
||||
{
|
||||
if(strpos('wait,doing,closed', $project->status) === false) continue;
|
||||
|
||||
if($project->status == 'closed') $closedCount ++;
|
||||
if($closedCount > 2) continue;
|
||||
if($project->status == 'closed')
|
||||
{
|
||||
$closedCount ++;
|
||||
if($closedCount > 2) continue;
|
||||
}
|
||||
|
||||
$projectPath = explode(',', trim($project->path, ','));
|
||||
$topProgram = !empty($project->parent) ? $projectPath[0] : $project->parent;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user