X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fgoogleapps.inc.php;h=1e9ee3c161fcf0a59c8e9e23ff234fbeedebee71;hb=d6f36edabab69a41fa5ba8843bb3d7233ea3bf23;hp=6dae3b15d65d087ff74531c93f6849cebd5983ab;hpb=5d734a72d2470e6c4130ba15fcd15a57a8919cf3;p=platal.git 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,