Merge branch 'srpint213_zg_24853' into 'master'
* Fix bug#24853 See merge request easycorp/zentaopms!4396
This commit is contained in:
@@ -76,8 +76,9 @@ foreach($executions as $projectID => $projectExecutions)
|
||||
foreach($projectExecutions as $index => $execution)
|
||||
{
|
||||
$kanbanLink = $this->createLink('execution', 'kanban', "executionID=%s");
|
||||
$cfdLink = $this->createLink('execution', 'cfd', "executionID=%s");
|
||||
$taskLink = $this->createLink('execution', 'task', "executionID=%s");
|
||||
if($execution->type != 'kanban' and $link == $kanbanLink) $link = $taskLink;
|
||||
if($execution->type != 'kanban' and ($link == $kanbanLink or $link == $cfdLink)) $link = $taskLink;
|
||||
if($execution->type == 'kanban' and $link != $kanbanLink) $link = $kanbanLink;
|
||||
|
||||
$selected = $execution->id == $executionID ? 'selected' : '';
|
||||
|
||||
Reference in New Issue
Block a user