mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix #2340 null warning in comment.item.php
This commit is contained in:
parent
684b86a636
commit
796f14571b
1 changed files with 1 additions and 2 deletions
|
|
@ -393,8 +393,7 @@ class CommentItem extends BaseObject
|
|||
}
|
||||
$args->comment_srl = $this->comment_srl;
|
||||
$output = executeQuery('comment.getCommentVotedLog', $args);
|
||||
|
||||
if($output->data->point)
|
||||
if(isset($output->data) && $output->data->point)
|
||||
{
|
||||
return $_SESSION['voted_comment'][$this->comment_srl] = $output->data->point;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue