From 8bbf7475f84724430469b28a06c99a0b215e60cb Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Wed, 22 Sep 2021 09:02:31 +0800 Subject: [PATCH] * Fix bug #14231. --- module/action/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/action/model.php b/module/action/model.php index 67716e94f1..3a927ee4be 100755 --- a/module/action/model.php +++ b/module/action/model.php @@ -49,7 +49,7 @@ class actionModel extends model $action->date = helper::now(); $action->extra = $extra; - if($objectType == 'story' and $actionType !== 'reviewed' and strpos(',reviewclosed,passreviewed,clarifyreviewed,', ",$actionType,") !== false) $action->actor = $this->lang->action->system; + if($objectType == 'story' and strpos(',reviewpassed,reviewrejected,reviewclarified,', ",$actionType,") !== false) $action->actor = $this->lang->action->system; /* Use purifier to process comment. Fix bug #2683. */ $action->comment = fixer::stripDataTags($comment);