From 5c23527bfcf497738001108896aa8baaa2d6ce89 Mon Sep 17 00:00:00 2001 From: Vincent Zanotti Date: Tue, 22 Apr 2008 20:13:21 +0200 Subject: [PATCH] In GoogleAppsAccount, accounts for the special meaning of " = 0" in MySQL. Signed-off-by: Vincent Zanotti --- include/googleapps.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/googleapps.inc.php b/include/googleapps.inc.php index 6dae3b1..1e9ee3c 100644 --- a/include/googleapps.inc.php +++ b/include/googleapps.inc.php @@ -149,6 +149,9 @@ class GoogleAppsAccount $this->uid = $uid; $this->g_account_name = $account_name; $this->g_status = NULL; + if (!$this->g_account_name) { + return; + } $res = XDB::query( "SELECT l_sync_password, l_activate_mail_redirection, -- 2.1.4