diff options
author | Max Kostikov <max@kostikov.co> | 2019-07-31 17:09:24 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2019-07-31 17:09:24 +0200 |
commit | 9ea1d6e8af731606d8876c2e22c951946ac98a14 (patch) | |
tree | ff4aebb8c4f3c6e0b60d096ccd556522a1894327 /include/account.php | |
parent | d4a038c437a231ceba1ad79fe0c2f9a48e3afce1 (diff) | |
download | volse-hubzilla-9ea1d6e8af731606d8876c2e22c951946ac98a14.tar.gz volse-hubzilla-9ea1d6e8af731606d8876c2e22c951946ac98a14.tar.bz2 volse-hubzilla-9ea1d6e8af731606d8876c2e22c951946ac98a14.zip |
Do not limit channel if service class property value set with 0
Diffstat (limited to 'include/account.php')
-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 7546657fd..4bd218a5b 100644 --- a/include/account.php +++ b/include/account.php @@ -761,7 +761,7 @@ function service_class_fetch($uid, $property) { if(! is_array($arr) || (! count($arr))) return false; - return((array_key_exists($property, $arr)) ? $arr[$property] : false); + return((array_key_exists($property, $arr) && $arr[$property]) ? $arr[$property] : false); } /** |