From d0c7c58f180a01178f79e9670506930f37c225fe Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Tue, 14 Sep 2021 16:27:56 +0800 Subject: [PATCH] * Fix bug #15172. --- module/story/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/story/control.php b/module/story/control.php index 8d531ad5b2..c25a197da5 100644 --- a/module/story/control.php +++ b/module/story/control.php @@ -576,7 +576,7 @@ class story extends control $this->action->logHistory($actionID, $changes); $story = $this->dao->findById($storyID)->from(TABLE_STORY)->fetch(); - if(isset($this->post->reviewer)) $this->story->recordReviewAction($story); + if(isset($_POST['reviewer'])) $this->story->recordReviewAction($story); } $this->executeHooks($storyID);