Fix #645 comment navigation sometimes missing

This commit is contained in:
Kijin Sung 2016-12-09 15:09:06 +09:00
parent e9bfb0e298
commit 714035c3a0

View file

@ -826,11 +826,11 @@ class documentItem extends Object
} }
if (count($comment_srls)) if (count($comment_srls))
{ {
$output = executeQuery('comment.getCommentVotedLogMulti', (object)array( $v_output = executeQuery('comment.getCommentVotedLogMulti', (object)array(
'comment_srls' => $comment_srls, 'comment_srls' => $comment_srls,
'member_srl' => $logged_info->member_srl, 'member_srl' => $logged_info->member_srl,
)); ));
foreach ($output->data as $data) foreach ($v_output->data as $data)
{ {
$_SESSION['voted_comment'][$data->comment_srl] = $data->point; $_SESSION['voted_comment'][$data->comment_srl] = $data->point;
} }