MDL-40592 assign/grading: Display default user picture, if none is set.

This commit is contained in:
Nadav Kavalerchik 2014-08-16 17:23:29 +03:00
parent 803f565753
commit d19de800ed

View File

@ -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);
}
/**