Merge branch 'sprint/174_hufangzhou_action' into 'master'

* Fix the code error.

See merge request easycorp/zentaopms!817
This commit is contained in:
孙广明
2021-12-08 00:55:02 +00:00
+1 -1
View File
@@ -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']};