|
@@ -44,7 +44,7 @@ if (!$ClassDistribution = $Cache->get_value('class_distribution')) {
|
44
|
44
|
}
|
45
|
45
|
if (!$PlatformDistribution = $Cache->get_value('platform_distribution')) {
|
46
|
46
|
$DB->query("
|
47
|
|
- SELECT OperatingSystem, COUNT(UserID) AS Users
|
|
47
|
+ SELECT OperatingSystem, COUNT(DISTINCT UserID) AS Users
|
48
|
48
|
FROM users_sessions
|
49
|
49
|
GROUP BY OperatingSystem
|
50
|
50
|
ORDER BY Users DESC");
|
|
@@ -55,7 +55,7 @@ if (!$PlatformDistribution = $Cache->get_value('platform_distribution')) {
|
55
|
55
|
|
56
|
56
|
if (!$BrowserDistribution = $Cache->get_value('browser_distribution')) {
|
57
|
57
|
$DB->query("
|
58
|
|
- SELECT Browser, COUNT(UserID) AS Users
|
|
58
|
+ SELECT Browser, COUNT(DISTINCT UserID) AS Users
|
59
|
59
|
FROM users_sessions
|
60
|
60
|
GROUP BY Browser
|
61
|
61
|
ORDER BY Users DESC");
|