Fixed regressions

This commit is contained in:
David Mudrak
2010-01-04 17:51:22 +00:00
parent 0715308cd1
commit bcf6eff795
3 changed files with 30 additions and 26 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ class moodle_mod_workshop_renderer extends moodle_renderer_base {
$o .= $this->output->heading(format_string($submission->title), 3, 'title');
if ($showauthorname && $author) {
$o .= $this->output->output_start_tag('div', array('class' => 'author')); //+++
$userpic = new user_picture();
$userpic = new moodle_user_picture();
$userpic->user = $author;
$userpic->courseid = $this->page->course->id;
$userpic->url = true;