mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 18:49:17 -07:00
fix for top panel
This commit is contained in:
parent
61288a2355
commit
6c4a08cf1e
1 changed files with 5 additions and 1 deletions
|
@ -156,7 +156,11 @@ if (!empty($_POST['save'])) {
|
|||
}
|
||||
|
||||
// Panel
|
||||
top_panel($user,$TAB);
|
||||
if (!empty($_SESSION['look'])) {
|
||||
top_panel($user,$TAB);
|
||||
} else {
|
||||
top_panel($_SESSION['user'],$TAB);
|
||||
}
|
||||
|
||||
// Display body
|
||||
if ($_SESSION['user'] == 'admin') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue