diff --git a/LinkTitles.body.php b/LinkTitles.body.php index b969579..adaec5a 100755 --- a/LinkTitles.body.php +++ b/LinkTitles.body.php @@ -202,7 +202,7 @@ } } - function removeMagicWord( &$parser, &$text ) { + static function removeMagicWord( &$parser, &$text ) { $mw = MagicWord::get('MAG_LINKTITLES_NOAUTOLINKS'); $mw -> matchAndRemove( $text ); return true;