diff --git a/backup/restore_execute.html b/backup/restore_execute.html
index 5490bc89e62..c9201a14c03 100644
--- a/backup/restore_execute.html
+++ b/backup/restore_execute.html
@@ -219,10 +219,12 @@
//Now create categories and questions as needed (STEP1)
if ($status and ($restore->mods['quiz']->restore)) {
- echo "
".get_string("creatingcategoriesandquestions")."";
+ echo "".get_string("creatingcategoriesandquestions");
+ echo "";
if (!$status = restore_create_questions($restore,$xml_file)) {
notify("Could not restore categories and questions!");
}
+ echo "
";
}
//Now create user_files as needed
diff --git a/mod/quiz/restorelib.php b/mod/quiz/restorelib.php
index 55d205e3a3f..bd834fbd6b4 100644
--- a/mod/quiz/restorelib.php
+++ b/mod/quiz/restorelib.php
@@ -269,10 +269,10 @@
//Do some output
if ($status) {
- echo "".get_string("category")." \"".$quiz_cat->name."\"";
+ echo "".get_string("category")." \"".$quiz_cat->name."\"
";
} else {
//We must never arrive here !!
- echo "".get_string("category")." \"".$quiz_cat->name."\" Error!";
+ echo "".get_string("category")." \"".$quiz_cat->name."\" Error!
";
}
backup_flush(300);
@@ -286,6 +286,7 @@
} else {
$status = false;
}
+ echo '';
}
return $status;