mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-40592 assign/grading: Display default user picture, if none is set.
This commit is contained in:
parent
803f565753
commit
d19de800ed
@ -717,10 +717,7 @@ class assign_grading_table extends table_sql implements renderable {
|
||||
* @return string
|
||||
*/
|
||||
public function col_picture(stdClass $row) {
|
||||
if ($row->picture) {
|
||||
return $this->output->user_picture($row);
|
||||
}
|
||||
return '';
|
||||
return $this->output->user_picture($row);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user