From b6caad717fcca75dfdc3c529158b7ecd4fb6938c Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Sat, 22 Dec 2012 17:05:57 +0200 Subject: [PATCH] show user stats in loginas view --- web/list/stats/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/list/stats/index.php b/web/list/stats/index.php index 41e490c9..3a4695b5 100644 --- a/web/list/stats/index.php +++ b/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);