Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix sorting order of questions in legend, which caused mismatch betwe…

…en question numbers used in Detailed Statistics report and those used in the legend
  • Loading branch information...
commit 7cdd2a596f18772489a50de25a0443638b2d36da 1 parent a2f8914
gbateson authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/hotpot/report/default.php
2  mod/hotpot/report/default.php
@@ -93,7 +93,7 @@ function create_legend_table(&$tables, &$table) {
$legend->stat = array();
// put the questions in order
- sort($table->legend);
+ ksort($table->legend);
foreach($table->legend as $q=>$question) {
Please sign in to comment.
Something went wrong with that request. Please try again.