mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 19:36:41 +02:00
Merge branch 'MDL-80232' of https://github.com/paulholden/moodle
This commit is contained in:
commit
41e3797c66
1 changed files with 1 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue