From 5c53afeeed4461351788f129152c4a1568ca694a 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 b6a12fa9f3..51d54d626c 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']};