mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-03-12 13:21:09 +00:00
fix PAGES_LIMIT condition
This commit is contained in:
parent
d024ffd770
commit
80b33f619c
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user