mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Only need to pass contextid to this script
This commit is contained in:
parent
e957cc2644
commit
339a9129ec
1 changed files with 1 additions and 1 deletions
|
@ -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.'&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="" />';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue