From db4ac453c3da0ede0100340475a7d2b1f3ccf02c Mon Sep 17 00:00:00 2001 From: Ankit Agarwal Date: Fri, 16 Mar 2012 14:15:42 +0800 Subject: [PATCH] MDL-28952 blocks: Fixing the extra escaping issue with profile links --- comment/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comment/lib.php b/comment/lib.php index 171e619c782..dfb685fcbf4 100644 --- a/comment/lib.php +++ b/comment/lib.php @@ -514,7 +514,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);