Permalink
Browse files

MDL-28952 blocks: Fixing the extra escaping issue with profile links

  • Loading branch information...
1 parent 3c4111e commit 33e8e9e7096a8cc3693f66c4787cac27a4332dfa @ankitagarwal ankitagarwal committed Mar 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 comment/lib.php
View
@@ -569,7 +569,7 @@ public function get_comments($page = '') {
$c->format = $u->cformat;
$c->timecreated = $u->ctimecreated;
$url = new moodle_url('/user/view.php', array('id'=>$u->id, 'course'=>$this->courseid));
- $c->profileurl = $url->out();
+ $c->profileurl = $url;
$c->fullname = fullname($u);
$c->time = userdate($c->timecreated, get_string('strftimerecent', 'langconfig'));
$c->content = format_text($c->content, $c->format, $formatoptions);

0 comments on commit 33e8e9e

Please sign in to comment.