* [task#136277,done,0.1h] fix bug.

This commit is contained in:
liumengyi
2025-01-17 15:29:19 +08:00
committed by 刘刚
parent 6571c2c56f
commit ffdc40ff6e
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -364,6 +364,7 @@ class action extends control
$action = $this->loadModel('file')->replaceImgURL($action, 'comment');
$this->view->title = $this->lang->action->editComment;
$this->view->actionID = $actionID;
$this->view->objectType = $action->objectType;
$this->view->comment = $this->action->formatActionComment($action->comment);
$this->view->files = $this->file->getByObject('comment', $actionID);
$this->display();
+1 -1
View File
@@ -754,7 +754,7 @@ class actionModel extends model
{
$desc['main'] = str_replace('$actor', $this->lang->action->superReviewer . ' ' . $value, $desc['main']);
}
else
elseif(!is_array($value))
{
$desc['main'] = str_replace('$' . $key, (string)$value, $desc['main']);
}