Permalink
Browse files

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

  • Loading branch information...
1 parent db4ac45 commit efd6defecb80ceaf71163f2af48940e48f45f026 @ankitagarwal ankitagarwal committed Mar 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 comment/lib.php
View
@@ -514,7 +514,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 efd6def

Please sign in to comment.