Skip to content

Commit 6c4a08c

Browse files
committed
fix for top panel
1 parent 61288a2 commit 6c4a08c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

web/edit/user/index.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,11 @@
156156
}
157157

158158
// Panel
159-
top_panel($user,$TAB);
159+
if (!empty($_SESSION['look'])) {
160+
top_panel($user,$TAB);
161+
} else {
162+
top_panel($_SESSION['user'],$TAB);
163+
}
160164

161165
// Display body
162166
if ($_SESSION['user'] == 'admin') {

0 commit comments

Comments
 (0)