Use $act instead of a second call to $this->getAction()
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 23 May 2011 17:55:26 +0000 (17:55 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 23 May 2011 17:55:26 +0000 (17:55 +0000)
includes/Wiki.php

index cf5856f..07007f3 100644 (file)
@@ -421,7 +421,7 @@ class MediaWiki {
 
                $act = $this->getAction();
 
-               $action = Action::factory( $this->getAction(), $article );
+               $action = Action::factory( $act, $article );
                if( $action instanceof Action ){
                        $action->show();
                        wfProfileOut( __METHOD__ );