diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/account.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/account.php b/include/account.php index 5f0c8737f..7546657fd 100644 --- a/include/account.php +++ b/include/account.php @@ -672,6 +672,8 @@ function service_class_allows($uid, $property, $usage = false) { return true; // No service class set => everything is allowed $limit = engr_units_to_bytes($limit); + if($limit == 0) + return true; // 0 means no limits if($usage === false) { // We use negative values for not allowed properties in a subscriber plan return ((x($limit)) ? (bool) $limit : true); |