From 060f2f2d437cbedc359f640442b21053211cb612 Mon Sep 17 00:00:00 2001 From: sunguangming Date: Tue, 29 Apr 2025 07:47:58 +0000 Subject: [PATCH] * [bug#62143,done,0.2h] fix bug. --- 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 8c8103a502..f95ae829ec 100755 --- a/module/action/model.php +++ b/module/action/model.php @@ -936,7 +936,7 @@ class actionModel extends model if(strlen(trim(($action->comment))) !== 0) { $item->comment = $this->formatActionComment($action->comment); - $item->commentEditable = $commentEditable && $endAction->id == $action->id && $action->actor == $account && common::hasPriv('action', 'editComment'); + $item->commentEditable = $commentEditable && $endAction->id == $action->id && $action->actor == $account && common::hasPriv('action', 'editComment') && $action->action == 'commented'; } if($action->action === 'assigned' || $action->action === 'toaudit')