Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix sort order of questions in legend, which caused mismatch between …

…question numbers used in Detailed Statistics report and those used in the legend
  • Loading branch information...
commit dce744cc05c776f7ed81efefbfcbd388744863ac 1 parent b64c6f6
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.