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))")