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

This commit is contained in:
Max Kostikov 2019-07-31 17:09:24 +02:00
parent d4a038c437
commit 9ea1d6e8af

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]) ? $arr[$property] : false);
}
/**