* Fix bug#26881.

This commit is contained in:
xieqiyu
2022-08-25 15:31:02 +08:00
parent 3d9fd2352f
commit 147cdbec67
+1 -1
View File
@@ -784,7 +784,7 @@ class storyModel extends model
return false;
}
if($this->checkForceReview() and empty($_POST['reviewer']))
if(strpos('draft,changing', $oldStory->status) !== false and $this->checkForceReview() and empty($_POST['reviewer']))
{
dao::$errors[] = $this->lang->story->errorEmptyReviewedBy;
return false;