aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/account.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/account.php b/include/account.php
index 4bd218a5b..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]) ? $arr[$property] : false);
+ return((array_key_exists($property, $arr) && $arr[$property] != 0) ? $arr[$property] : false);
}
/**