fix for top panel

This commit is contained in:
Serghey Rodin 2015-02-17 22:10:41 +02:00
commit 6c4a08cf1e

View file

@ -156,7 +156,11 @@ if (!empty($_POST['save'])) {
} }
// Panel // Panel
top_panel($user,$TAB); if (!empty($_SESSION['look'])) {
top_panel($user,$TAB);
} else {
top_panel($_SESSION['user'],$TAB);
}
// Display body // Display body
if ($_SESSION['user'] == 'admin') { if ($_SESSION['user'] == 'admin') {