From db378febc29f2dcb7383d934764783ba1cfba1f4 Mon Sep 17 00:00:00 2001 From: Ankit Agarwal Date: Tue, 20 Mar 2012 10:57:12 +0800 Subject: [PATCH] MDL-28592 blocks: changing the arguments to moodle_url::out() --- comment/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comment/lib.php b/comment/lib.php index 4086185b9cd..0ba8b22f2a9 100644 --- a/comment/lib.php +++ b/comment/lib.php @@ -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; + $c->profileurl = $url->out(false); $c->fullname = fullname($u); $c->time = userdate($c->timecreated, get_string('strftimerecent', 'langconfig')); $c->content = format_text($c->content, $c->format, $formatoptions);