From 60875964fcb18d42316c8dd5fcd2c068526608a6 Mon Sep 17 00:00:00 2001 From: Vincent Zanotti Date: Sun, 10 May 2009 01:37:47 +0200 Subject: [PATCH] Removes an undefined variable warning in AdminModule. Signed-off-by: Vincent Zanotti --- modules/admin.php | 1 + 1 file changed, 1 insertion(+) 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')) { -- 2.1.4