From ab8a03d6d4688e7391dcd1892137511cd5818a98 Mon Sep 17 00:00:00 2001 From: hufangzhou <746775970@qq.com> Date: Fri, 21 May 2021 16:00:06 +0800 Subject: [PATCH] * Fix an 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 ba0adec481..3f17ddbbe7 100755 --- a/module/action/model.php +++ b/module/action/model.php @@ -78,7 +78,7 @@ class actionModel extends model $action->execution = (int)$extra; } - if($objectType == 'story' and strpos('reviewclosed,passreviewed,clarifyreviewed') !== false) $action->actor = 'System'; + if($objectType == 'story' and strpos('ReviewClosed,PassReviewed,ClarifyReviewed', $actionType) !== false) $action->actor = 'System'; if($objectType == 'case' and (strpos(',linked2testtask,unlinkedfromtesttask,assigned,run,', ',' . $actionType . ',') !== false)) {