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:
@@ -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) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user