Merge pull request #2233 from dewekk/fix-comment-page

댓글 페이지 수 설정 안되는 문제 수정
This commit is contained in:
Kijin Sung 2023-12-19 22:28:42 +09:00 committed by GitHub
commit e96338fd60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1123,7 +1123,7 @@ class CommentModel extends Comment
{
$comment_config->comment_count = 50;
}
if(!isset($comment_config->comment_page_count) || $comment_config->comment_page_count)
if(!isset($comment_config->comment_page_count) || !$comment_config->comment_page_count)
{
$comment_config->comment_page_count = 10;
}