Skip to content

Commit

Permalink
MDL-28952 blocks: Fixing the extra escaping issue with profile links
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitagarwal committed Mar 16, 2012
1 parent a2b30aa commit db4ac45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comment/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,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);
Expand Down

0 comments on commit db4ac45

Please sign in to comment.