MDL-30738: There was an incorrect parameter in $PAGE->set_url
authorDarko Miletic <dmiletic@moodlerooms.com>
Wed, 14 Dec 2011 17:38:02 +0000 (14:38 -0300)
committerDarko Miletic <dmiletic@moodlerooms.com>
Wed, 14 Dec 2011 17:38:02 +0000 (14:38 -0300)
after swithing courseid to id everything started working as it should.

user/index.php

index 972364d..8991d8f 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);