mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
Merge branch 'MDL-39324-master' of https://github.com/kiratskitizing/moodle
This commit is contained in:
commit
98f437d16d
@ -571,6 +571,8 @@ function url_guess_icon($fullurl, $size = null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
$moodleurl = new moodle_url($fullurl);
|
||||
$fullurl = $moodleurl->out_omit_querystring();
|
||||
$icon = file_extension_icon($fullurl, $size);
|
||||
$htmlicon = file_extension_icon('.htm', $size);
|
||||
$unknownicon = file_extension_icon('', $size);
|
||||
|
Loading…
x
Reference in New Issue
Block a user