Permalink
Browse files

Show scale title when looking at questions from a scale

  • Loading branch information...
1 parent 4c26ac1 commit 000331f51921b3dca6815db6d36efffab47780c9 martin committed Aug 14, 2002
Showing with 6 additions and 0 deletions.
  1. +6 −0 mod/survey/report.php
View
6 mod/survey/report.php
@@ -142,6 +142,12 @@
print_heading($strselectedquestions);
+ if ($scale = get_records("survey_questions", "multi", "$qid")) {
+ $scale = array_pop($scale);
+ echo "<HR>";
+ print_heading($scale->text);
+ }
+
} else { // get all top-level questions
$questions = get_records_sql("SELECT * FROM survey_questions WHERE id in ($survey->questions)");
$questionorder = explode(",", $survey->questions);

0 comments on commit 000331f

Please sign in to comment.