From 451ca576027e49dde2385bab1448047c7f86feba Mon Sep 17 00:00:00 2001 From: dewekk <60457472+dewekk@users.noreply.github.com> Date: Thu, 14 Dec 2023 16:28:59 +0900 Subject: [PATCH] =?UTF-8?q?=EB=8C=93=EA=B8=80=20=ED=8E=98=EC=9D=B4?= =?UTF-8?q?=EC=A7=80=20=EC=88=98=20=EC=84=A4=EC=A0=95=20=EC=95=88=EB=90=98?= =?UTF-8?q?=EB=8A=94=20=EB=AC=B8=EC=A0=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/comment/comment.model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/comment/comment.model.php b/modules/comment/comment.model.php index bd3aa464b..b0195b63e 100644 --- a/modules/comment/comment.model.php +++ b/modules/comment/comment.model.php @@ -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; }