Permalink
Browse files

Merge branch 'MDL-37375_m23' of git://github.com/rwijaya/moodle into …

…MOODLE_23_STABLE
  • Loading branch information...
danpoltawski committed Jan 22, 2013
2 parents 49042e1 + 93a9177 commit 9e4c326cafcccae9c673a7e9709f509e22a65b8d
Showing with 2 additions and 1 deletion.
  1. +2 −1 report/outline/index.php
View
@@ -148,7 +148,8 @@
$blogcell = new html_table_cell();
$blogcell->attributes['class'] = 'blog';
if ($blogcount = blog_get_associated_count($course->id, $cm->id)) {
- $blogcell->text = html_writer::link('/blog/index.php?modid='.$cm->id, $blogcount);
+ $blogurl = new moodle_url('/blog/index.php', array('modid' => $cm->id));
+ $blogcell->text = html_writer::link($blogurl, $blogcount);
} else {
$blogcell->text = '-';
}

0 comments on commit 9e4c326

Please sign in to comment.