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/remotereport.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules-available/statistics_reporting/inc/remotereport.inc.php') diff --git a/modules-available/statistics_reporting/inc/remotereport.inc.php b/modules-available/statistics_reporting/inc/remotereport.inc.php index fa84e7e5..f8f54a86 100644 --- a/modules-available/statistics_reporting/inc/remotereport.inc.php +++ b/modules-available/statistics_reporting/inc/remotereport.inc.php @@ -108,7 +108,7 @@ class RemoteReport } // $data = array(); - $data['cpuCount'] = preg_match_all('/\bprocessor\s+:\s+(.*)$/m', $cpuInfo, $out); + $data['cpuCount'] = preg_match_all('/\bmodel name\s+:\s+(.*)$/m', $cpuInfo, $out); if ($data['cpuCount'] > 0) { $data['cpuModel'] = $out[1][0]; } -- cgit v1.2.3-55-g7522