Skip to content

Commit

Permalink
Fixed incorrect order of rebuilding excluded text
Browse files Browse the repository at this point in the history
  • Loading branch information
ikawhero committed Feb 25, 2005
1 parent 67775c8 commit d7d93ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mod/glossary/filter.php
Expand Up @@ -211,12 +211,12 @@ function glossary_link_concepts($text,$concept,$href_tag_begin,$href_tag_end = "
if (!empty($links)) {
$text = str_replace(array_keys($links),$links,$text);
}
if (!empty( $excludes)) {
$text = str_replace(array_keys($excludes),$excludes,$text);
}
if (!empty( $nolinkspan)) {
$text = str_replace(array_keys($nolinkspan),$nolinkspan,$text);
}
if (!empty( $excludes)) {
$text = str_replace(array_keys($excludes),$excludes,$text);
}
if ($fullmatch and !empty($words)) {
$text = str_replace(array_keys($words),$words,$text);
}
Expand Down

0 comments on commit d7d93ee

Please sign in to comment.