mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-24321 switching to stdClass in /blog/
This commit is contained in:
parent
dd4bee83ae
commit
e463f508cb
3 changed files with 13 additions and 13 deletions
|
@ -157,7 +157,7 @@ class blog_entry {
|
|||
$topiccell->text .= $OUTPUT->container_start('author');
|
||||
|
||||
$fullname = fullname($user, has_capability('moodle/site:viewfullnames', get_context_instance(CONTEXT_COURSE, $PAGE->course->id)));
|
||||
$by = new object();
|
||||
$by = new stdClass();
|
||||
$by->name = html_writer::link(new moodle_url('/user/view.php', array('id' => $user->id, 'course' => $PAGE->course->id)), $fullname);
|
||||
$by->date = $template['created'];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue