projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Removes an undefined variable warning in AdminModule.
[platal.git]
/
modules
/
admin.php
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')) {