Merge branch 'dev' into 'dev'

Do not limit channel if service class property value set with 0

See merge request hubzilla/core!1697
This commit is contained in:
Max Kostikov 2019-07-31 17:21:06 +02:00
commit 829e915c90

View File

@ -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);
}
/**