mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
fix sort order of questions in legend, which caused mismatch between question numbers used in Detailed Statistics report and those used in the legend
This commit is contained in:
parent
b64c6f6f9f
commit
dce744cc05
@ -93,7 +93,7 @@ class hotpot_default_report {
|
||||
$legend->stat = array();
|
||||
|
||||
// put the questions in order
|
||||
sort($table->legend);
|
||||
ksort($table->legend);
|
||||
|
||||
foreach($table->legend as $q=>$question) {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user