This commit is contained in:
Jun Pataleta 2024-01-22 15:04:50 +08:00
commit 41e3797c66
No known key found for this signature in database
GPG key ID: F83510526D99E2C7

View file

@ -736,7 +736,7 @@ class summary_table extends table_sql {
$orderby = " ORDER BY {$sort}";
}
} else {
$selectfields = 'COUNT(u.id)';
$selectfields = 'COUNT(DISTINCT u.id)';
}
$sql = "SELECT {$selectfields}