댓글 페이지 수 설정 안되는 문제 수정

This commit is contained in:
dewekk 2023-12-14 16:28:59 +09:00 committed by GitHub
parent 14449dff9d
commit 451ca57602
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;
}