aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-07-31 17:21:06 +0200
committerMax Kostikov <max@kostikov.co>2019-07-31 17:21:06 +0200
commit829e915c909d7fbe212e8fb3e73a32b484cb02f0 (patch)
treedeaeee567e91d76e2c62ce3d7d2a8a159a4cd7b5 /include
parent17661b4b5f9758b82af9b560f08334c4345bb391 (diff)
parentaaffc7485daf01dba56f2020b284fb06dd5a1ce1 (diff)
downloadvolse-hubzilla-829e915c909d7fbe212e8fb3e73a32b484cb02f0.tar.gz
volse-hubzilla-829e915c909d7fbe212e8fb3e73a32b484cb02f0.tar.bz2
volse-hubzilla-829e915c909d7fbe212e8fb3e73a32b484cb02f0.zip
Merge branch 'dev' into 'dev'
Do not limit channel if service class property value set with 0 See merge request hubzilla/core!1697
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 7546657fd..bea84cea7 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] != 0) ? $arr[$property] : false);
}
/**