From aaffc7485daf01dba56f2020b284fb06dd5a1ce1 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Wed, 31 Jul 2019 17:18:11 +0200 Subject: Update account.php --- include/account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } /** -- cgit v1.2.3