From 27086ff4a2d7701de8e090c71a5de6fedc37cc4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=80=A1=E6=A0=8B?= Date: Mon, 14 Nov 2022 16:20:23 +0800 Subject: [PATCH] * fix bug. --- module/bug/model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/bug/model.php b/module/bug/model.php index 5d17a0c4af..1b75576105 100644 --- a/module/bug/model.php +++ b/module/bug/model.php @@ -2086,6 +2086,7 @@ class bugModel extends model ->leftJoin(TABLE_BUILD)->alias('t2')->on('t1.id = t2.execution') ->where('t2.id')->in($buildID) ->fetchAll('id'); + if(empty($executions)) return array(); $condition = 'execution NOT ' . helper::dbIN(array_keys($executions)); $minBegin = '';