Fix bug.
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<td class='text-center'><?php echo $i + 1;?></td>
|
||||
<td class='text-center'><?php echo html::input("name[$i]", '', "class='form-control title-import'");?></td>
|
||||
<td style='overflow:visible'><?php echo html::select("lane[$i]", $lanePairs, key($lanePairs), "class='form-control chosen'")?></td>
|
||||
<td style='overflow:visible'><?php echo html::select("assignedTo[$i]", $users, $app->user->account, "class='form-control chosen'");?></td>
|
||||
<td style='overflow:visible'><?php echo html::select("assignedTo[$i][]", $users, $app->user->account, "class='form-control chosen' multiple");?></td>
|
||||
<td><?php echo html::input("estimate[$i]", '', "class='form-control text-center'");?></td>
|
||||
<td>
|
||||
<div class='input-group'>
|
||||
|
||||
Reference in New Issue
Block a user