#1580 댓글 추천/비추천시에도 변경된 추천수를 반환하도록 수정

This commit is contained in:
YJSoft 2015-07-06 15:49:09 +09:00
parent 19df2de94c
commit aa961c5ca7

View file

@ -54,7 +54,9 @@ class commentController extends comment
}
$point = 1;
return $this->updateVotedCount($comment_srl, $point);
$output = $this->updateVotedCount($comment_srl, $point);
$this->add('voted_count', $output->get('voted_count'));
return $output;
}
/**
@ -90,7 +92,9 @@ class commentController extends comment
}
$point = -1;
return $this->updateVotedCount($comment_srl, $point);
$output = $this->updateVotedCount($comment_srl, $point);
$this->add('blamed_count', $output->get('blamed_count'));
return $output;
}
/**