From 7464a978a670655106ed51d811afa3c2c993f2ed Mon Sep 17 00:00:00 2001 From: Vincent Zanotti Date: Sat, 19 Apr 2008 23:22:01 +0200 Subject: [PATCH] Fixes "googleapps administrator" status determination. Signed-off-by: Vincent Zanotti --- include/googleapps.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/googleapps.inc.php b/include/googleapps.inc.php index 54e3efe..6dae3b1 100644 --- a/include/googleapps.inc.php +++ b/include/googleapps.inc.php @@ -444,7 +444,7 @@ class GoogleAppsAccount "SELECT g_admin FROM gapps_accounts WHERE l_userid = {?} AND g_status = 'active'", $uid); - return ($res->numRows() > 0 ? (bool)$res->fetchOneRow() : false); + return ($res->numRows() > 0 ? (bool)$res->fetchOneCell() : false); } } -- 2.1.4