1
0
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:
Iuri de Silvio 2017-12-20 22:31:00 -02:00 committed by GitHub
parent 25094345d1
commit 5b48ab31ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ class ApiHelper {
$api_quota = env('SETTING_ANON_API_QUOTA') ?: 5;
}
if ($api_quota == -1) {
if ($api_quota < 0) {
return false;
}