MDL-28592 blocks: changing the arguments to moodle_url::out()

This commit is contained in:
Ankit Agarwal
2012-03-20 10:57:12 +08:00
parent db4ac453c3
commit efd6defecb
+1 -1
View File
@@ -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;
$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);