diff --git a/lib/outputlib.php b/lib/outputlib.php index 86ee87c3a05..77ee70ea0e0 100644 --- a/lib/outputlib.php +++ b/lib/outputlib.php @@ -1825,7 +1825,8 @@ class theme_config { * * @param string $image name of image, may contain relative path * @param string $component - * @param bool $svg If set to true SVG images will also be looked for. + * @param bool $svg|null Should SVG images also be looked for? If null, resorts to $CFG->svgicons if that is set; falls back to + * auto-detection of browser support otherwise * @return string full file path */ public function resolve_image_location($image, $component, $svg = false) {