Permalink
Browse files

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

  • Loading branch information...
1 parent 33e8e9e commit db378febc29f2dcb7383d934764783ba1cfba1f4 @ankitagarwal ankitagarwal committed Mar 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 comment/lib.php
View
@@ -569,7 +569,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;
+ $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);

0 comments on commit db378fe

Please sign in to comment.