From e7161cf21fc29c4de60e3444f7ea079e991b889a Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 29 Jun 2020 12:59:06 +0200 Subject: [statistics_reporting] Fix numer of unique users and server CPU model --- modules-available/statistics_reporting/inc/queries.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules-available/statistics_reporting/inc/queries.inc.php') diff --git a/modules-available/statistics_reporting/inc/queries.inc.php b/modules-available/statistics_reporting/inc/queries.inc.php index 39e43765..c77f0ed8 100644 --- a/modules-available/statistics_reporting/inc/queries.inc.php +++ b/modules-available/statistics_reporting/inc/queries.inc.php @@ -402,8 +402,7 @@ class Queries { $res = Database::queryFirst("SELECT Count(DISTINCT username) as `total` FROM statistic - WHERE (dateline BETWEEN $from AND $to) AND typeid = '.vmchooser-session-name' - GROUP BY username"); + WHERE (dateline BETWEEN $from AND $to) AND typeid = '.vmchooser-session-name'"); return (int)$res['total']; } -- cgit v1.2.3-55-g7522