mirror of
https://github.com/cydrobolt/polr.git
synced 2024-09-18 19:52:26 +02:00
$api_quota < 0 instead of -1
This commit is contained in:
parent
25094345d1
commit
5b48ab31ca
@ -23,7 +23,7 @@ class ApiHelper {
|
||||
$api_quota = env('SETTING_ANON_API_QUOTA') ?: 5;
|
||||
}
|
||||
|
||||
if ($api_quota == -1) {
|
||||
if ($api_quota < 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user