Browse Source

Fix Profile icon disappears from top bar after viewing logs (#3005)

Neto 3 years ago
parent
commit
557a804156
1 changed files with 1 additions and 1 deletions
  1. 1 1
      web/list/log/index.php

+ 1 - 1
web/list/log/index.php

@@ -32,7 +32,7 @@ $data = json_decode(implode('', $output), true);
 $data = array_reverse($data);
 $data = array_reverse($data);
 unset($output);
 unset($output);
 if (empty($_SESSION['look'])) {
 if (empty($_SESSION['look'])) {
-    $_SESSION['look'] = '';
+    unset($_SESSION['look']);
 }
 }
 
 
 // Render page
 // Render page