course MDL-24780 Fixed up typo is ajax editing

This commit is contained in:
Sam Hemelryk 2010-10-21 02:04:19 +00:00
parent 0a5ece3d3b
commit 51fc46a392

View File

@ -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))) {