From bf1c39f08c018ec4b0c8cb5a749ebb342b322dd5 Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Thu, 15 Jun 2023 14:15:19 +0800 Subject: [PATCH] * Fix bug #35924. --- module/doc/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/doc/model.php b/module/doc/model.php index 92983bb9d3..07b3b1d4e8 100644 --- a/module/doc/model.php +++ b/module/doc/model.php @@ -1954,7 +1954,7 @@ class docModel extends model ->orWhere("(objectType = 'release' and objectID in ($releaseIdList))") ->fi() ->beginIF($type == 'project') - ->orWhere("(objectType = 'execution' and objectID in ('$executionIdList'))") + ->orWhere("(objectType = 'execution' and objectID in ($executionIdList))") ->orWhere("(objectType = 'issue' and objectID in ($issueIdList))") ->orWhere("(objectType = 'review' and objectID in ($reviewIdList))") ->orWhere("(objectType = 'meeting' and objectID in ($meetingIdList))")