From 476e4cea16616407b5b97a4161ccf2b059dd5c7d Mon Sep 17 00:00:00 2001 From: liumengyi Date: Thu, 29 Feb 2024 13:29:32 +0800 Subject: [PATCH] + Fix bug #21863, replace image url. --- module/action/control.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/action/control.php b/module/action/control.php index d1817156b8..978387bb90 100755 --- a/module/action/control.php +++ b/module/action/control.php @@ -335,6 +335,7 @@ class action extends control return $this->send(array('status' => 'success', 'closeModal' => true, 'callback' => array('name' => 'zui.HistoryPanel.update', 'params' => array('objectType' => $action->objectType, 'objectID' => $action->objectID)))); } + $action = $this->loadModel('file')->replaceImgURL($action, 'comment'); $this->view->title = $this->lang->action->editComment; $this->view->actionID = $actionID; $this->view->comment = $this->action->formatActionComment($action->comment);