Changed variable name because Eloy has plans for $CFG->filtermatchoneperpage :-)

This commit is contained in:
moodler
2005-03-21 08:37:43 +00:00
parent 10d96e2963
commit 57f781f733
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ function filter_phrases ($text, $link_array, $ignoretagsopen=NULL, $ignoretagscl
}
/// Finally we do our highlighting
if (!empty($CFG->filtermatchfirstonly)) {
if (!empty($CFG->filtermatchonepertext)) {
$text = preg_replace('/('.$linkobject->phrase.')/'.$modifiers,
$linkobject->hreftagbegin.'$1'.$linkobject->hreftagend, $text, 1);
} else {