* [feedback#f8552,done,0.5h] fix review tip error.

This commit is contained in:
tianshujie
2025-03-07 15:23:07 +08:00
committed by 刘刚
parent 7538b627fc
commit ceb93dc2d4
+1 -1
View File
@@ -732,7 +732,7 @@ class story extends control
$this->commonAction($storyID);
$story = $this->view->story;
if($story->status != 'reviewing')
if(isset($reviewers[$this->app->user->account]) && $reviewers[$this->app->user->account] != '')
{
return $this->send(array('result' => 'fail', 'callback' => "zui.Modal.alert({icon: 'icon-exclamation-sign', iconClass: 'warning-pale rounded-full icon-2x', message: '{$this->lang->hasReviewed}'}).then((res) => {loadCurrentPage()});"));
}