Explorar el Código

show user stats in loginas view

Serghey Rodin hace 13 años
padre
commit
b6caad717f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      web/list/stats/index.php

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

@@ -13,7 +13,7 @@ include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html');
 top_panel($user,$TAB);
 
 // Data
-if ($_SESSION['user'] == 'admin') {
+if ($user == 'admin') {
 
     if (empty($_GET['user'])) {
         exec (VESTA_CMD."v-list-users-stats json", $output, $return_var);