Skip to content

Commit

Permalink
Fixed path problem on home page
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Jul 28, 2004
1 parent 4bdd6ce commit 025c6cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/activity_modules/block_activity_modules.php
Expand Up @@ -26,7 +26,7 @@ function get_content() {
if ($modnamesused) {
foreach ($modnamesused as $modname => $modfullname) {
if ($modname != 'label') {
$this->content->items[] = '<a href="../mod/'.$modname.'/index.php?id='.$this->course->id.'">'.$modnamesplural[$modname].'</a>';
$this->content->items[] = '<a href="'.$CFG->wwwroot.'/mod/'.$modname.'/index.php?id='.$this->course->id.'">'.$modnamesplural[$modname].'</a>';
$this->content->icons[] = '<img src="'.$CFG->modpixpath.'/'.$modname.'/icon.gif" height="16" width="16" alt="">';
}
}
Expand Down

0 comments on commit 025c6cc

Please sign in to comment.