projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9ff46f
)
Removes an undefined variable warning in AdminModule.
author
Vincent Zanotti
<vincent.zanotti@m4x.org>
Sat, 9 May 2009 23:37:47 +0000
(
01:37
+0200)
committer
Vincent 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
patch
|
blob
|
blame
|
history
diff --git
a/modules/admin.php
b/modules/admin.php
index
9b4e436
..
458d5d6
100644
(file)
--- 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')) {