From 80b33f619c55e29083b5a5acff27b11e15384e19 Mon Sep 17 00:00:00 2001 From: ghost Date: Sat, 5 Aug 2023 19:24:21 +0300 Subject: [PATCH] fix PAGES_LIMIT condition --- library/helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/helper.php b/library/helper.php index e65f0b3..19bcc0f 100644 --- a/library/helper.php +++ b/library/helper.php @@ -131,7 +131,7 @@ class Helper { } // Validate page limits for this host - if ($db->getTotalHostPages($hostId) > self::getHostSetting($db, $memcached, $hostId, 'PAGES_LIMIT', DEFAULT_HOST_PAGES_LIMIT)) { + if ($db->getTotalHostPages($hostId) >= self::getHostSetting($db, $memcached, $hostId, 'PAGES_LIMIT', DEFAULT_HOST_PAGES_LIMIT)) { return false; }