From: Vincent Zanotti Date: Sat, 19 Apr 2008 21:22:01 +0000 (+0200) Subject: Fixes "googleapps administrator" status determination. X-Git-Tag: xorg/0.9.16~20 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=7464a978a670655106ed51d811afa3c2c993f2ed;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); } }