From 92e6515548a3b768300a6478be432207234a7939 Mon Sep 17 00:00:00 2001 From: Mark Nielsen Date: Tue, 26 Jun 2012 17:56:11 +0800 Subject: [PATCH] fixed undefined variable --- mod/survey/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/survey/view.php b/mod/survey/view.php index 34e2f68975433..c0430e93561be 100644 --- a/mod/survey/view.php +++ b/mod/survey/view.php @@ -122,7 +122,7 @@ $table->align = array ("left"); $table->data[] = array(s($answer->answer1));//no html here, just plain text echo html_writer::table($table); - echo $OUTPUT->spacer(clone($spacer)) . '
'; + echo $OUTPUT->spacer(array('height'=>30, 'width'=>1), true); } } }