@@ -2486,9 +2486,7 @@ class projectModel extends model
|
||||
if($project and $project->model == 'waterfall') $model = $project->model;
|
||||
if($project and $project->model == 'kanban')
|
||||
{
|
||||
$model = $project->model . 'Project';
|
||||
|
||||
global $lang;
|
||||
$model = $project->model . 'Project';
|
||||
$lang->executionCommon = $lang->project->kanban;
|
||||
}
|
||||
|
||||
|
||||
@@ -249,11 +249,7 @@ class testtask extends control
|
||||
$builds = empty($productID) ? array() : $this->loadModel('build')->getBuildPairs($productID, 'all', 'notrunk');
|
||||
|
||||
$execution = $this->loadModel('execution')->getByID($executionID);
|
||||
if(!empty($execution) and $execution->type == 'kanban')
|
||||
{
|
||||
global $lang;
|
||||
$this->lang->testtask->execution = str_replace($lang->execution->common, $lang->kanban->common, $this->lang->testtask->execution);
|
||||
}
|
||||
if(!empty($execution) and $execution->type == 'kanban') $this->lang->testtask->execution = str_replace($this->lang->execution->common, $this->lang->kanban->common, $this->lang->testtask->execution);
|
||||
|
||||
/* Set menu. */
|
||||
$productID = $this->product->saveState($productID, $this->products);
|
||||
|
||||
Reference in New Issue
Block a user