From fa040aacc6ce61e3f1f92a996f14608f56f30d4a Mon Sep 17 00:00:00 2001 From: samhemelryk Date: Wed, 16 Sep 2009 08:19:22 +0000 Subject: [PATCH] questions MDL-19820 Added set_url calls --- course/edit.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/course/edit.php b/course/edit.php index c551f6836b..70c1ef9014 100644 --- a/course/edit.php +++ b/course/edit.php @@ -38,6 +38,13 @@ print_error('needcoursecategroyid'); } + $PAGE->set_url($CFG->wwwroot.'/course/edit.php'); + if ($id !== 0) { + $PAGE->url->param('id',$id); + } else { + $PAGE->url->param('category',$categoryid); + } + /// prepare course if (!empty($course)) { $allowedmods = array(); -- 2.39.5