Merge branch 'sprint/189_hufangzhou_22250' into 'master'

* Fix bug #22250.

See merge request easycorp/zentaopms!3420
This commit is contained in:
王怡栋
2022-05-16 05:57:41 +00:00
+1 -1
View File
@@ -789,7 +789,7 @@ class actionModel extends model
if(is_array($desc))
{
if($key == 'extra') continue;
if($action->objectType == 'story' and $action->action = 'reviewed' and strpos($action->extra, '|') !== false and $key == 'actor')
if($action->objectType == 'story' and $action->action == 'reviewed' and strpos($action->extra, '|') !== false and $key == 'actor')
{
$desc['main'] = str_replace('$actor', $this->lang->action->superReviewer . ' ' . $value, $desc['main']);
}