* Fix bug #31870, and fix bug of edit execution.
This commit is contained in:
@@ -1679,12 +1679,14 @@ class execution extends control
|
||||
{
|
||||
global $lang;
|
||||
$executionLang = $lang->execution->common;
|
||||
$executionCommonLang = $lang->executionCommon;
|
||||
$lang->executionCommon = $lang->execution->kanban;
|
||||
$lang->execution->common = $lang->execution->kanban;
|
||||
include $this->app->getModulePath('', 'execution') . 'lang/' . $this->app->getClientLang() . '.php';
|
||||
$lang->execution->common = $executionLang;
|
||||
$lang->executionCommon = $executionCommonLang;
|
||||
|
||||
$lang->execution->typeList['sprint'] = $lang->execution->common;
|
||||
$lang->execution->typeList['sprint'] = $executionCommonLang;
|
||||
}
|
||||
elseif(!empty($project) and $project->model == 'waterfall')
|
||||
{
|
||||
|
||||
@@ -593,7 +593,7 @@ class executionModel extends model
|
||||
}
|
||||
|
||||
$relatedExecutionsID = $this->getRelatedExecutions($executionID);
|
||||
$relatedExecutionsID = !empty($relatedExecutionsID) ? implode(',', array_keys($relatedExecutionsID)) : '';
|
||||
$relatedExecutionsID = !empty($relatedExecutionsID) ? implode(',', array_keys($relatedExecutionsID)) : '0';
|
||||
|
||||
/* Update data. */
|
||||
$this->lang->error->unique = $this->lang->error->repeat;
|
||||
|
||||
Reference in New Issue
Block a user