fix PAGES_LIMIT condition

This commit is contained in:
ghost 2023-08-05 19:24:21 +03:00
parent d024ffd770
commit 80b33f619c

View File

@ -131,7 +131,7 @@ class Helper {
} }
// Validate page limits for this host // 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; return false;
} }