Permalink
Browse files

block/mentees: MDL-20993 - incorrectly assumes SITEID

  • Loading branch information...
1 parent ed5a88a commit e9d030cfdd21b83ae50cf5d2e06379f070ecdcd4 @danpoltawski danpoltawski committed Feb 24, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 blocks/mentees/block_mentees.php
@@ -38,7 +38,7 @@ function get_content() {
$this->content->text = '<ul>';
foreach ($usercontexts as $usercontext) {
- $this->content->text .= '<li><a href="'.$CFG->wwwroot.'/user/view.php?id='.$usercontext->instanceid.'&amp;course=1">'.fullname($usercontext).'</a></li>';
+ $this->content->text .= '<li><a href="'.$CFG->wwwroot.'/user/view.php?id='.$usercontext->instanceid.'&amp;course='.SITEID.'">'.fullname($usercontext).'</a></li>';
}
$this->content->text .= '</ul>';
}

0 comments on commit e9d030c

Please sign in to comment.