Merge branch 'master_xieqiyu_26881' into 'master'

* Fix bug#26881.

See merge request easycorp/zentaopms!5126
This commit is contained in:
王怡栋
2022-08-26 01:21:51 +00:00
+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;