MDL-30738: Fix for 2.2 stable

This commit is contained in:
Darko Miletic
2011-12-14 15:06:31 -03:00
parent acb3bf8ac1
commit 4026898f5c
+1 -1
View File
@@ -31,7 +31,7 @@
'search' => $search,
'roleid' => $roleid,
'contextid' => $contextid,
'courseid' => $courseid));
'id' => $courseid));
if ($contextid) {
$context = get_context_instance_by_id($contextid, MUST_EXIST);