diff --git a/module/bug/model.php b/module/bug/model.php index 18fe679913..4f7829fc60 100644 --- a/module/bug/model.php +++ b/module/bug/model.php @@ -779,7 +779,7 @@ class bugModel extends model foreach($extendFields as $extendField) { - $bug->{$extendField->field} = htmlspecialchars($this->post->{$extendField->field}[$i]); + $bug->{$extendField->field} = htmlspecialchars($this->post->{$extendField->field}[$bugID]); $message = $this->checkFlowRule($extendField, $bug->{$extendField->field}); if($message) die(js::alert($message)); } diff --git a/module/custom/lang/zh-cn.php b/module/custom/lang/zh-cn.php index 3a3bdea57a..5dea113bf1 100644 --- a/module/custom/lang/zh-cn.php +++ b/module/custom/lang/zh-cn.php @@ -135,7 +135,7 @@ $lang->custom->productProject->notice = '请根据实际情况选择适合自己 $lang->custom->workingList['full'] = '完整研发管理工具'; $lang->custom->workingList['onlyTest'] = '测试管理工具'; -$lang->custom->workingList['onlyStory'] = "{$lang->storyCommon}管理工具"; +$lang->custom->workingList['onlyStory'] = "需求管理工具"; $lang->custom->workingList['onlyTask'] = '任务管理工具'; $lang->custom->menuTip = '点击显示或隐藏导航条目,拖拽来更改显示顺序。'; diff --git a/module/custom/view/flow.html.php b/module/custom/view/flow.html.php index 698e700d52..08fffac69e 100644 --- a/module/custom/view/flow.html.php +++ b/module/custom/view/flow.html.php @@ -34,12 +34,10 @@
custom->productProject->relation, zget($this->config->custom, 'productProject', empty($this->config->isINT) ? '0_0' : '0_1'))?>
-
custom->conceptOptions->story, zget($this->config->custom, 'storyRequirement', '0'));?>
-
diff --git a/module/my/control.php b/module/my/control.php index 6ed5c4fc00..516ef202fc 100644 --- a/module/my/control.php +++ b/module/my/control.php @@ -610,5 +610,4 @@ class my extends control die(js::locate($this->createLink('my', 'profile'), 'parent')); } } - } diff --git a/module/story/model.php b/module/story/model.php index 72dc3c455d..d45c3f73c3 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -882,7 +882,7 @@ class storyModel extends model foreach($extendFields as $extendField) { - $story->{$extendField->field} = htmlspecialchars($this->post->{$extendField->field}[$i]); + $story->{$extendField->field} = htmlspecialchars($this->post->{$extendField->field}[$storyID]); $message = $this->checkFlowRule($extendField, $story->{$extendField->field}); if($message) die(js::alert($message)); } diff --git a/module/task/model.php b/module/task/model.php index ada7448de2..945368a6f3 100644 --- a/module/task/model.php +++ b/module/task/model.php @@ -984,7 +984,7 @@ class taskModel extends model foreach($extendFields as $extendField) { - $task->{$extendField->field} = htmlspecialchars($this->post->{$extendField->field}[$i]); + $task->{$extendField->field} = htmlspecialchars($this->post->{$extendField->field}[$taskID]); $message = $this->checkFlowRule($extendField, $task->{$extendField->field}); if($message) die(js::alert($message)); } diff --git a/module/testcase/model.php b/module/testcase/model.php index 796a9f77f1..d35829d858 100644 --- a/module/testcase/model.php +++ b/module/testcase/model.php @@ -871,7 +871,7 @@ class testcaseModel extends model foreach($extendFields as $extendField) { - $case->{$extendField->field} = htmlspecialchars($this->post->{$extendField->field}[$i]); + $case->{$extendField->field} = htmlspecialchars($this->post->{$extendField->field}[$caseID]); $message = $this->checkFlowRule($extendField, $case->{$extendField->field}); if($message) die(js::alert($message)); }