Преглед изворни кода

show user stats in loginas view

Serghey Rodin пре 13 година
родитељ
комит
b6caad717f
1 измењених фајлова са 1 додато и 1 уклоњено
  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);