From bd0979b33488033bbfa8f46e99c840c643cce282 Mon Sep 17 00:00:00 2001 From: wangxuepeng Date: Fri, 17 Mar 2023 05:31:57 +0000 Subject: [PATCH] * Fix bug 33045. --- module/project/control.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/module/project/control.php b/module/project/control.php index f6f57af86a..01a1002ec0 100755 --- a/module/project/control.php +++ b/module/project/control.php @@ -199,6 +199,9 @@ class project extends control */ public function ajaxGetUnlinkTips($projectID, $account) { + $project = $this->project->getByID($projectID); + if(!$project->multiple) return; + $executions = $this->loadModel('execution')->getByProject($projectID, 'undone', 0, true); $executionMembers = $this->dao->select('t1.root,t2.name')->from(TABLE_TEAM)->alias('t1') ->leftJoin(TABLE_EXECUTION)->alias('t2')->on('t1.root=t2.id')