mirror of
https://github.com/moodle/moodle.git
synced 2025-04-17 22:45:54 +02:00
Merge branch 'wip_MDL-50690_master' of git://github.com/gjb2048/moodle
This commit is contained in:
commit
20706d0fea
@ -167,6 +167,10 @@ if (!$usesvg) {
|
||||
}
|
||||
send_uncached_image($imagefile);
|
||||
exit;
|
||||
} else {
|
||||
/* We cannot serve the SVG file this time and there is no alternative, so prevent future
|
||||
requests from failing to find the image when they can support SVG. */
|
||||
image_not_found();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user