From 9e7d38b11a4e7801a333af340f8c662fe28cd9d5 Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Sat, 9 May 2009 13:15:41 +0000 Subject: [PATCH] portfolio/ replaced course_setup with $PAGE->set_course which seems to have been missed --- portfolio/add.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portfolio/add.php b/portfolio/add.php index 52b0af2501..1feb0768ff 100644 --- a/portfolio/add.php +++ b/portfolio/add.php @@ -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); -- 2.39.5