From 61acb0de5a43564a4cb60bbf25ee3f1c68884033 Mon Sep 17 00:00:00 2001 From: lq Date: Wed, 7 May 2025 22:28:56 +0800 Subject: [PATCH] =?UTF-8?q?OSS=E5=B0=81=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Service/ProjectService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,