From 35ea27ee9db862dafd00f52f56871fa45f4ba0ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=80=A1=E6=A0=8B?= Date: Tue, 5 Mar 2024 09:31:53 +0800 Subject: [PATCH] * Fix bug #46474. --- module/release/model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/release/model.php b/module/release/model.php index cd5cdb9a03..47be404477 100644 --- a/module/release/model.php +++ b/module/release/model.php @@ -421,6 +421,7 @@ class releaseModel extends model } elseif(($notify == 'ET' || $notify == 'PT') && !empty($release->build)) { + $type = $notify == 'ET' ? 'execution' : 'project'; $table = $notify == 'ET' ? TABLE_BUILD : TABLE_RELEASE; $members = $this->dao->select('t2.account')->from($table)->alias('t1') ->leftJoin(TABLE_TEAM)->alias('t2')->on("t1.$type=t2.root")