Skip to content

Commit

Permalink
fix sort order of questions in legend, which caused mismatch between …
Browse files Browse the repository at this point in the history
…question numbers used in Detailed Statistics report and those used in the legend
  • Loading branch information
gbateson committed Nov 18, 2006
1 parent b64c6f6 commit dce744c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/hotpot/report/default.php
Expand Up @@ -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) {

Expand Down

0 comments on commit dce744c

Please sign in to comment.