From 51fc46a3929514957fcb85ecebfe950b69251e05 Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Thu, 21 Oct 2010 02:04:19 +0000 Subject: [PATCH] course MDL-24780 Fixed up typo is ajax editing --- course/rest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/rest.php b/course/rest.php index df8c613e885..065561e9d39 100644 --- a/course/rest.php +++ b/course/rest.php @@ -41,7 +41,7 @@ $sequence = optional_param('sequence', '', PARAM_SEQUENCE); $visible = optional_param('visible', 0, PARAM_INT); $pageaction = optional_param('action', '', PARAM_ALPHA); // Used to simulate a DELETE command -$PAGE->set_url('/course/rest.php', array('courseId'=>$courseId,'class'=>$class)); +$PAGE->set_url('/course/rest.php', array('courseId'=>$courseid,'class'=>$class)); // Authorise the user and verify some incoming data if (!$course = $DB->get_record('course', array('id'=>$courseid))) {