Removes an undefined variable warning in AdminModule.
authorVincent Zanotti <vincent.zanotti@m4x.org>
Sat, 9 May 2009 23:37:47 +0000 (01:37 +0200)
committerVincent Zanotti <vincent.zanotti@m4x.org>
Sat, 9 May 2009 23:37:47 +0000 (01:37 +0200)
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
modules/admin.php

index 9b4e436..458d5d6 100644 (file)
@@ -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')) {