diff --git a/mod/hotpot/report/default.php b/mod/hotpot/report/default.php
index 0983ec636eb..60a1cdfe5f2 100644
--- a/mod/hotpot/report/default.php
+++ b/mod/hotpot/report/default.php
@@ -340,6 +340,7 @@ class hotpot_default_report {
/// print an html report
function print_html_report(&$tables) {
+ global $OUTPUT;
$count = count($tables);
foreach($tables as $i=>$table) {
@@ -351,7 +352,10 @@ class hotpot_default_report {
$this->print_html_finish($table);
if (($i+1)<$count) {
- print_spacer(30, 10, true);
+ $spacer = new html_image();
+ $spacer->height = 30;
+ $spacer->width = 10;
+ echo $OUTPUT->spacer($spacer) . '
';
}
}
}
diff --git a/mod/hotpot/review.php b/mod/hotpot/review.php
index a2743686865..d01ab17c096 100644
--- a/mod/hotpot/review.php
+++ b/mod/hotpot/review.php
@@ -146,7 +146,10 @@ function hotpot_print_review_buttons(&$course, &$hotpot, &$attempt, $context) {
}
print "\n\n";
print '