1
1
mirror of https://github.com/renbaoshuo/S2OJ.git synced 2025-04-21 01:24:36 +00:00

fix(blog): reply comment

This commit is contained in:
Baoshuo Ren 2023-02-01 20:04:48 +08:00
parent 5db2b2c381
commit 32851eaf57
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

@ -91,7 +91,7 @@ $reply_form->addHidden(
return '您要回复的对象不存在';
}
$comment = UOJBlogComment::query($reply_id);
if (!$comment || $comment['blog_id'] != $blog['id']) {
if (!$comment || $comment->info['blog_id'] != $blog['id']) {
return '您要回复的对象不存在';
}
$vdata['parent'] = $comment;