From 29ea0911613ee4c2e305825cdc76ffbda84a1013 Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Thu, 9 Sep 2021 10:39:49 +0800 Subject: [PATCH] * Finish task #42412. --- module/story/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/story/model.php b/module/story/model.php index cc831c5efb..14aafc02c1 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -4442,7 +4442,7 @@ class storyModel extends model $comment = isset($_POST['comment']) ? $this->post->comment : ''; $actionID = !empty($result) ? $this->loadModel('action')->create('story', $story->id, 'Reviewed', $comment, ucfirst($result) . $reasonParam) : ''; - if(strtolower($result) != 'revert') + if($result != 'revert') { if($story->status == 'closed') $this->action->create('story', $story->id, 'ReviewRejected'); if($story->status == 'active') $this->action->create('story', $story->id, 'ReviewPassed');