Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit db4ac453c3da0ede0100340475a7d2b1f3ccf02c 1 parent a2b30aa
@ankitagarwal ankitagarwal authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  comment/lib.php
View
2  comment/lib.php
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.