From cc2d1dc4a876b627371e27cccebc4ce1aecc82a9 Mon Sep 17 00:00:00 2001 From: leiyong <1549684884@qq.com> Date: Wed, 2 Dec 2020 17:03:59 +0800 Subject: [PATCH] * Fix bug. --- module/issue/view/taskform.html.php | 2 +- module/program/control.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/issue/view/taskform.html.php b/module/issue/view/taskform.html.php index 9434029e75..15e87b9b22 100644 --- a/module/issue/view/taskform.html.php +++ b/module/issue/view/taskform.html.php @@ -151,7 +151,7 @@ function loadProjectMembers(projectID) $('#assignedTo_chosen').remove(); $('#assignedTo').next('.picker').remove(); $('#assignedTo').replaceWith(data); - $('#assignedTo').attr('name', 'assignedTo').chosen(); + $('#assignedTo').attr('name', 'assignedTo[]').chosen(); }); } diff --git a/module/program/control.php b/module/program/control.php index b804497126..d686aac381 100644 --- a/module/program/control.php +++ b/module/program/control.php @@ -553,7 +553,7 @@ class program extends control */ public function ajaxGetPRJDropMenu($projectID = 0, $module, $method) { - $closedProjects = $this->program->getPRJList(0, 'closed', 0, 'id_desc', null, 0, 0); + $closedProjects = $this->program->getPRJList(0, 'closed', 0, 'id_desc'); $closedProjectNames = array(); foreach($closedProjects as $project) $closedProjectNames = common::convert2Pinyin($closedProjectNames);