Explorar el Código

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

Neto hace 3 años
padre
commit
d7be7f7052
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      web/list/log/index.php

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

@@ -31,7 +31,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