Permalink
Browse files

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

…MOODLE_24_STABLE
  • Loading branch information...
2 parents 9f8b8bb + 3895b34 commit 3dae8bcedda31096a66d99c96faf2675ebce9182 @danpoltawski danpoltawski committed Jan 22, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 report/outline/index.php
View
@@ -147,7 +147,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 3dae8bc

Please sign in to comment.