From d7d93ee995e7ba6b6ab99bfdfc1d85730f8a339e Mon Sep 17 00:00:00 2001 From: ikawhero Date: Fri, 25 Feb 2005 23:18:09 +0000 Subject: [PATCH] Fixed incorrect order of rebuilding excluded text --- mod/glossary/filter.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mod/glossary/filter.php b/mod/glossary/filter.php index 51c20ae70b5..68897947a43 100644 --- a/mod/glossary/filter.php +++ b/mod/glossary/filter.php @@ -211,12 +211,12 @@ 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); }