From 32c7a078a71d018574609198450fb267125c175e Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Wed, 8 Dec 2021 08:47:00 +0800 Subject: [PATCH] * Fix the code error. --- 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 eef1e4c8ac..d153117996 100755 --- a/module/action/model.php +++ b/module/action/model.php @@ -721,7 +721,7 @@ class actionModel extends model $actionDesc = str_replace('$extra', $action->extra, $desc['main']); } - if($action->objectType == 'story' and $action->action = 'reviewed' and strpos($action->extra, ',') !== false) + if($action->objectType == 'story' and $action->action == 'reviewed' and strpos($action->extra, ',') !== false) { list($extra, $reason) = explode(',', $extra); $desc['reason'] = $this->lang->$objectType->{$desc['reason']};