diff --git a/question/category_class.php b/question/category_class.php
index 92cf4857858..de9c46df4ac 100644
--- a/question/category_class.php
+++ b/question/category_class.php
@@ -383,11 +383,11 @@ class question_category_object {
$this->output_edit_single_table($category,$page);
echo '';
echo '
';
print_footer($this->course);
diff --git a/question/editlib.php b/question/editlib.php
index 4c9907c05d4..9ad4be49a21 100644
--- a/question/editlib.php
+++ b/question/editlib.php
@@ -131,10 +131,10 @@ function question_category_form($course, $current, $recurse=1, $showhidden=false
popup_form ("edit.php?courseid=$course->id&cat=", $catmenu, "catmenu", $current, "", "", "", false, "self");
echo "";
echo "";
echo ' | ';