MDL-77524 filter_algebra: fix error message

This commit is contained in:
Petr Skoda
2023-03-08 11:27:53 +08:00
committed by Jake Dallimore
parent d4389e4a0e
commit f99ae1651a
+1 -1
View File
@@ -237,7 +237,7 @@ class filter_algebra extends moodle_text_filter {
$DB->insert_record("cache_filters", $texcache, false);
$text = str_replace( $matches[0][$i], filter_algebra_image($filename, $texexp, '', '', $align), $text);
} else {
$text = str_replace( $matches[0][$i],"<b>Undetermined error:</b> ",$text);
$text = str_replace( $matches[0][$i],"<b>Undetermined error:</b> " . $matches[0][$i], $text);
}
} else {
$text = str_replace( $matches[0][$i], filter_algebra_image($filename, $texcache->rawtext), $text);