Some small robustness things, and a new style for quiz feedback text

This commit is contained in:
moodler 2003-01-08 09:08:05 +00:00
parent 1079c8a872
commit c897eac5e4
11 changed files with 25 additions and 3 deletions

View file

@ -27,7 +27,7 @@ function mimeinfo($element, $filename) {
$result = $mimeinfo[strtolower($match[1])][$element];
}
if ($result) {
if (!empty($result)) {
return $result;
} else {
return $mimeinfo["xxx"][$element]; // By default