Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 9f84da6969b1681618ed54339611f88c01e580bd 1 parent 0ce936b
@ankitagarwal ankitagarwal authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  comment/lib.php
View
2  comment/lib.php
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.