Merge branch 'MDL-30738' of git://github.com/kiklop74/moodle
[moodle.git] / user / index.php
index 362d2be..9ec3f4e 100644 (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);