Fix manage comments failed (#1838)

This commit is contained in:
Luffy
2025-01-04 12:45:16 +08:00
committed by GitHub
parent 91876b42aa
commit 7d51b210c9

View File

@@ -61,7 +61,7 @@ class Admin extends Comments
$content = $this->parentContent;
if ($content) {
return _t('%s的评论', $content['title']);
return _t('%s的评论', $content->title);
}
throw new Exception(_t('内容不存在'), 404);