aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-07-31 17:09:24 +0200
committerMax Kostikov <max@kostikov.co>2019-07-31 17:09:24 +0200
commit9ea1d6e8af731606d8876c2e22c951946ac98a14 (patch)
treeff4aebb8c4f3c6e0b60d096ccd556522a1894327
parentd4a038c437a231ceba1ad79fe0c2f9a48e3afce1 (diff)
downloadvolse-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
-rw-r--r--include/account.php2
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);
}
/**