]> git.mjollnir.org Git - moodle.git/commitdiff
Only need to pass contextid to this script
authormoodler <moodler>
Mon, 14 Aug 2006 08:41:54 +0000 (08:41 +0000)
committermoodler <moodler>
Mon, 14 Aug 2006 08:41:54 +0000 (08:41 +0000)
blocks/participants/block_participants.php

index 639227d0c6cb6f4894205973902b1713d72ea818..39857e8a0ac33a7d7da707fd3fb3aa1338cf0185 100644 (file)
@@ -51,7 +51,7 @@ class block_participants extends block_list {
             isteacher(SITEID)) {
 
             $this->content->items[] = '<a title="'.get_string('listofallpeople').'" href="'.
-                                      $CFG->wwwroot.'/user/index.php?id='.$this->instance->pageid.'&amp;contextid='.$context->id.'">'.get_string('participants').'</a>';
+                                      $CFG->wwwroot.'/user/index.php?contextid='.$context->id.'">'.get_string('participants').'</a>';
             $this->content->icons[] = '<img src="'.$CFG->pixpath.'/i/users.gif" height="16" width="16" alt="" />';
         }