Skip to content

Commit

Permalink
MDL-40592 assign/grading: Display default user picture, if none is set.
Browse files Browse the repository at this point in the history
  • Loading branch information
nadavkav committed May 22, 2015
1 parent 803f565 commit d19de80
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions mod/assign/gradingtable.php
Original file line number Diff line number Diff line change
Expand Up @@ -717,10 +717,7 @@ public function col_outcomes(stdClass $row) {
* @return string
*/
public function col_picture(stdClass $row) {
if ($row->picture) {
return $this->output->user_picture($row);
}
return '';
return $this->output->user_picture($row);
}

/**
Expand Down

0 comments on commit d19de80

Please sign in to comment.