Permalink
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...
1 parent b64c6f6 commit dce744cc05c776f7ed81efefbfcbd388744863ac gbateson committed Nov 18, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 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) {

0 comments on commit dce744c

Please sign in to comment.