Skip to content

Commit

Permalink
MDL-77524 filter_algebra: fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak authored and snake committed Mar 8, 2023
1 parent c61e59c commit 9f178c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filter/algebra/filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public function filter($text, array $options = array()){
$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);
Expand Down

0 comments on commit 9f178c1

Please sign in to comment.