* Fix bug #18002.
This commit is contained in:
@@ -2145,20 +2145,20 @@ class execution extends control
|
||||
$this->app->loadLang('story');
|
||||
$this->app->loadLang('task');
|
||||
$this->app->loadLang('bug');
|
||||
$this->loadModel('kanban');
|
||||
|
||||
/* Compatibility IE8. */
|
||||
if(strpos($this->server->http_user_agent, 'MSIE 8.0') !== false) header("X-UA-Compatible: IE=EmulateIE7");
|
||||
|
||||
if($execution->lifetime == 'ops')
|
||||
{
|
||||
$browseType = 'task';
|
||||
unset($this->lang->kanban->type['story']);
|
||||
unset($this->lang->kanban->type['bug']);
|
||||
$kanbanGroup = $this->loadModel('kanban')->getExecutionKanban($executionID, 'task', $groupBy);
|
||||
}
|
||||
else
|
||||
{
|
||||
$kanbanGroup = $this->loadModel('kanban')->getExecutionKanban($executionID, $browseType, $groupBy);
|
||||
unset($this->lang->kanban->type['all']);
|
||||
}
|
||||
|
||||
$kanbanGroup = $this->kanban->getExecutionKanban($executionID, $browseType, $groupBy);
|
||||
if(empty($kanbanGroup))
|
||||
{
|
||||
$this->kanban->createExecutionLane($executionID, $browseType, $groupBy);
|
||||
|
||||
Reference in New Issue
Block a user