*Code for bug #48664.

This commit is contained in:
孙华伟
2022-02-09 15:58:14 +08:00
parent cc92cac012
commit 9d88bfccfb
+3 -1
View File
@@ -1299,7 +1299,9 @@ class storyModel extends model
$isSuperReviewer = strpos(',' . trim(zget($this->config->story, 'superReviewers', ''), ',') . ',', ',' . $this->app->user->account . ',');
if($isSuperReviewer === false)
{
$reviewers = $this->getReviewerPairs($storyID, $this->getById($storyID) -> version);
$list = $this->getById($storyID);
$version = $list->version;
$reviewers = $this->getReviewerPairs($storyID, $version);
if(count($reviewers) > 1) $skipFields = 'closedReason';
}