]> git.mjollnir.org Git - moodle.git/commitdiff
fixed some small typos I introduced.
authorjamiesensei <jamiesensei>
Wed, 24 Jan 2007 15:13:46 +0000 (15:13 +0000)
committerjamiesensei <jamiesensei>
Wed, 24 Jan 2007 15:13:46 +0000 (15:13 +0000)
question/question2.php

index 5bf9cbea53e0506bc951089c84650b0920b2d323..8004e1be25dad14fd0e1ffa3a334571298b0f24e 100644 (file)
@@ -117,7 +117,7 @@ if ($mform->is_cancelled()){
         $strediting = '<a href="' . $returnurl . '">' . get_string('editingquiz', 'quiz') . '</a> -> '.
                 $streditingquestion;
     } else {
-        $strediting = '<a href="edit.php?courseid='.$course->id.'">'.
+        $strediting = '<a href="edit.php?courseid='.$category->course.'">'.
                 get_string("editquestions", "quiz").'</a> -> '.$streditingquestion;
     }
     print_header_simple($streditingquestion, '', $strediting);
@@ -126,6 +126,6 @@ if ($mform->is_cancelled()){
     // for this question type.
     $QTYPES[$question->qtype]->display_question_editing_page(&$mform, $question, $wizardnow);
 
-    print_footer($course);
+    print_footer($COURSE);
 }
 ?>