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; }