Permalink
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...
1 parent a2f8914 commit 7cdd2a596f18772489a50de25a0443638b2d36da gbateson committed Nov 18, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/hotpot/report/default.php
View
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) {

0 comments on commit 7cdd2a5

Please sign in to comment.