From: Vincent Zanotti Date: Sat, 9 May 2009 23:37:47 +0000 (+0200) Subject: Removes an undefined variable warning in AdminModule. X-Git-Tag: xorg/0.10.1~95 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=60875964fcb18d42316c8dd5fcd2c068526608a6;p=platal.git Removes an undefined variable warning in AdminModule. Signed-off-by: Vincent Zanotti --- diff --git a/modules/admin.php b/modules/admin.php index 9b4e436..458d5d6 100644 --- a/modules/admin.php +++ b/modules/admin.php @@ -363,6 +363,7 @@ class AdminModule extends PLModule } // Loads the user identity using the environment. + $user = null; if ($login) { $user = User::get($login); } else if (Env::has('user_id')) {