aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-07-31 17:18:11 +0200
committerMax Kostikov <max@kostikov.co>2019-07-31 17:18:11 +0200
commitaaffc7485daf01dba56f2020b284fb06dd5a1ce1 (patch)
tree6d5ce89fab90b3c21574f689382d747e16e2b7e7 /include
parent9ea1d6e8af731606d8876c2e22c951946ac98a14 (diff)
downloadvolse-hubzilla-aaffc7485daf01dba56f2020b284fb06dd5a1ce1.tar.gz
volse-hubzilla-aaffc7485daf01dba56f2020b284fb06dd5a1ce1.tar.bz2
volse-hubzilla-aaffc7485daf01dba56f2020b284fb06dd5a1ce1.zip
Update account.php
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 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);
}
/**