aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-07-30 11:54:14 +0200
committerMax Kostikov <max@kostikov.co>2019-07-30 11:54:14 +0200
commit59fed33797221003ef5ec730946f84588f3606a4 (patch)
treeec718236b320a6fe5505f7147e279a72ed65e814 /include
parent5695350e98a8a2c802ff419c5b29b0f01f0180df (diff)
downloadvolse-hubzilla-59fed33797221003ef5ec730946f84588f3606a4.tar.gz
volse-hubzilla-59fed33797221003ef5ec730946f84588f3606a4.tar.bz2
volse-hubzilla-59fed33797221003ef5ec730946f84588f3606a4.zip
Do not control limits on service class settings with 0 values
Diffstat (limited to 'include')
-rw-r--r--include/account.php2
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);