|
@@ -45,7 +45,7 @@ class ProjectKanbanService
|
|
|
$collection->each(function ($item, $key)use ($collection,$items) {
|
|
|
$collection[$key]=(object)array_merge($collection[$key]->toArray(),$items[$collection[$key]->id]);
|
|
|
});
|
|
|
- if ($items['empty']){//当存在empty时,单独在末尾添加改task
|
|
|
+ if (isset($items['empty'])){//当存在empty时,单独在末尾添加改task
|
|
|
$collection->push($items['empty']);
|
|
|
}
|
|
|
return [
|