From aaa89cb536b73ff730e09bb6311ee62eba36289d Mon Sep 17 00:00:00 2001 From: Daniel Kraus Date: Wed, 6 Mar 2013 19:02:50 +0100 Subject: [PATCH] Fix invalid callback error due to non-static declaration of LinkTitles::removeMagicWord. --- LinkTitles.body.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;