fixed the ->spacer <br> param
authorRossiani Wijaya <rwijaya@moodle.com>
Tue, 26 Jun 2012 10:08:46 +0000 (18:08 +0800)
committerDan Poltawski <dan@moodle.com>
Mon, 2 Jul 2012 07:20:43 +0000 (15:20 +0800)
mod/survey/view.php

index 8fe6a48..cfb421a 100644 (file)
@@ -109,7 +109,7 @@ $completion->set_module_viewed($cm);
         } else {
 
             echo $OUTPUT->box(format_module_intro('survey', $survey, $cm->id), 'generalbox', 'intro');
-            echo $OUTPUT->spacer(array('height'=>30, 'width'=>1, 'br'=>true)); // should be done with CSS instead
+            echo $OUTPUT->spacer(array('height'=>30, 'width'=>1), true);  // should be done with CSS instead
 
             $questions = $DB->get_records_list("survey_questions", "id", explode(',', $survey->questions));
             $questionorder = explode(",", $survey->questions);