mirror of
https://github.com/moodle/moodle.git
synced 2025-04-25 10:26:17 +02:00
MDL-21781 fixed case
This commit is contained in:
parent
4a0ef03e8a
commit
62bc50190b
@ -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));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user