mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-25 22:38:40 +00:00
fix(blog): reply comment
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
5db2b2c381
commit
32851eaf57
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user