summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics_reporting/inc/remotereport.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2020-06-29 12:59:06 +0200
committerSimon Rettberg2020-06-29 12:59:06 +0200
commitbf3720c139c2fb338f01b9153a2a34e8f93ec172 (patch)
tree067586b4555aed791ff5840a9881256410c23b4a /modules-available/statistics_reporting/inc/remotereport.inc.php
parent[locationinfo] Add option to show hostnames (diff)
downloadslx-admin-bf3720c139c2fb338f01b9153a2a34e8f93ec172.tar.gz
slx-admin-bf3720c139c2fb338f01b9153a2a34e8f93ec172.tar.xz
slx-admin-bf3720c139c2fb338f01b9153a2a34e8f93ec172.zip
[statistics_reporting] Fix numer of unique users and server CPU model
Diffstat (limited to 'modules-available/statistics_reporting/inc/remotereport.inc.php')
-rw-r--r--modules-available/statistics_reporting/inc/remotereport.inc.php2
1 files changed, 1 insertions, 1 deletions
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];
}