diff --git a/module/kanban/model.php b/module/kanban/model.php index cabb5c866e..dfb887585e 100644 --- a/module/kanban/model.php +++ b/module/kanban/model.php @@ -480,6 +480,10 @@ class kanbanModel extends model */ public function batchCreateCard($kanbanID, $regionID, $groupID, $columnID) { + foreach($_POST['name'] as $index => $value) + { + if($_POST['name'][$index] and isset($_POST['assignedTo'][$index])) $_POST['assignedTo'][$index] = implode(',', $_POST['assignedTo'][$index]); + } $cards = fixer::input('post')->get(); $now = helper::now(); diff --git a/module/kanban/view/batchcreatecard.html.php b/module/kanban/view/batchcreatecard.html.php index 1db3829291..3312774cc2 100644 --- a/module/kanban/view/batchcreatecard.html.php +++ b/module/kanban/view/batchcreatecard.html.php @@ -39,7 +39,7 @@ - user->account, "class='form-control chosen'");?> + user->account, "class='form-control chosen' multiple");?>