MDL-21781 fixed case
authorPetr Skoda <skodak@moodle.org>
Fri, 23 Apr 2010 09:15:27 +0000 (09:15 +0000)
committerPetr Skoda <skodak@moodle.org>
Fri, 23 Apr 2010 09:15:27 +0000 (09:15 +0000)
cohort/assign.php

index a4557d3..56d376c 100644 (file)
@@ -37,7 +37,7 @@ $context = get_context_instance_by_id($cohort->contextid, MUST_EXIST);
 require_capability('moodle/cohort:assign', $context);
 
 $PAGE->set_url('/cohort/assign.php', array('id'=>$id));
-$PAGE->set_Context($context);
+$PAGE->set_context($context);
 
 $returnurl = new moodle_url('/cohort/index.php', array('contextid'=>$cohort->contextid));