diff options
author | Max Kostikov <max@kostikov.co> | 2019-07-30 11:54:14 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2019-07-30 11:54:14 +0200 |
commit | 59fed33797221003ef5ec730946f84588f3606a4 (patch) | |
tree | ec718236b320a6fe5505f7147e279a72ed65e814 | |
parent | 5695350e98a8a2c802ff419c5b29b0f01f0180df (diff) | |
download | volse-hubzilla-59fed33797221003ef5ec730946f84588f3606a4.tar.gz volse-hubzilla-59fed33797221003ef5ec730946f84588f3606a4.tar.bz2 volse-hubzilla-59fed33797221003ef5ec730946f84588f3606a4.zip |
Do not control limits on service class settings with 0 values
-rw-r--r-- | include/account.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/account.php b/include/account.php index 5f0c8737f..5dd91f909 100644 --- a/include/account.php +++ b/include/account.php @@ -668,7 +668,7 @@ function downgrade_accounts() { function service_class_allows($uid, $property, $usage = false) { $limit = service_class_fetch($uid, $property); - if($limit === false) + if($limit == false) return true; // No service class set => everything is allowed $limit = engr_units_to_bytes($limit); |