From 7d51b210c9d620d2b3a0f3bbd7d096bbd098ee85 Mon Sep 17 00:00:00 2001 From: Luffy <52o@qq52o.cn> Date: Sat, 4 Jan 2025 12:45:16 +0800 Subject: [PATCH] Fix manage comments failed (#1838) --- var/Widget/Comments/Admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/Widget/Comments/Admin.php b/var/Widget/Comments/Admin.php index a63a0b77..6e7b1ccc 100644 --- a/var/Widget/Comments/Admin.php +++ b/var/Widget/Comments/Admin.php @@ -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);