mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-09-03 09:42:51 +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
|
// 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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user