diff --git a/app/Service/ProjectService.php b/app/Service/ProjectService.php index 60196c11..4b6d6b81 100644 --- a/app/Service/ProjectService.php +++ b/app/Service/ProjectService.php @@ -98,7 +98,7 @@ class ProjectService extends BaseService $labelInsertData = []; foreach ($labels as $label) { - if (!empty($feature)) { + if (!empty($label)) { $labelInsertData[] = [ 'project_id' => $insertProjectModel, 'label_id' => $label,