From: samhemelryk Date: Wed, 16 Sep 2009 08:19:22 +0000 (+0000) Subject: questions MDL-19820 Added set_url calls X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=fa040aacc6ce61e3f1f92a996f14608f56f30d4a;p=moodle.git questions MDL-19820 Added set_url calls --- 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();