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

This commit is contained in:
Ankit Agarwal
2012-03-16 15:44:51 +08:00
parent 832626da76
commit 0ce936b081
+1 -1
View File
@@ -569,7 +569,7 @@ class comment {
$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);