Do not limit channel if service class property value set with 0
This commit is contained in:
parent
d4a038c437
commit
9ea1d6e8af
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user