mirror of
https://github.com/moodle/moodle.git
synced 2025-03-23 17:10:20 +01:00
Merge branch 'MDL-79071-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
This commit is contained in:
commit
5af5c5d0a6
@ -1210,7 +1210,7 @@ class core_course_renderer extends plugin_renderer_base {
|
||||
$file->get_filearea() . $file->get_filepath() . $file->get_filename(), !$isimage);
|
||||
if ($isimage) {
|
||||
$contentimages .= html_writer::tag('div',
|
||||
html_writer::empty_tag('img', ['src' => $url]),
|
||||
html_writer::empty_tag('img', ['src' => $url, 'alt' => '']),
|
||||
['class' => 'courseimage']);
|
||||
} else {
|
||||
$image = $this->output->pix_icon(file_file_icon($file, 24), $file->get_filename(), 'moodle');
|
||||
|
Loading…
x
Reference in New Issue
Block a user