From: Vincent Zanotti Date: Sat, 19 Apr 2008 21:22:01 +0000 (+0200) Subject: Fixes "googleapps administrator" status determination. X-Git-Tag: core/1.0.0~246^2~1 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=4b67332c876729715d40810c915ee6be08d11a9b;p=platal.git Fixes "googleapps administrator" status determination. Signed-off-by: Vincent Zanotti --- 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); } }