|
|
@@ -6,7 +6,7 @@ $TAB = 'STATS';
|
|
|
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
|
|
|
|
|
// Data
|
|
|
-if ($_SESSION['userContext'] === 'admin') {
|
|
|
+if (($_SESSION['userContext'] === 'admin') && (!isset($_SESSION['look']))) {
|
|
|
if (empty($_GET['user'])) {
|
|
|
exec (HESTIA_CMD."v-list-users-stats json", $output, $return_var);
|
|
|
$data = json_decode(implode('', $output), true);
|