portfolio/ replaced course_setup with $PAGE->set_course which seems to have been missed

This commit is contained in:
mjollnir_
2009-05-09 13:15:41 +00:00
parent f17fcf9083
commit 9e7d38b11a
+1 -1
View File
@@ -157,7 +157,7 @@ if (!empty($dataid)) {
}
// set up the course so that build_navigation works nice
course_setup($course);
$PAGE->set_course($course);
// and now we know the course for sure, call require_login with it
require_login($course);