From: Mr. E23 Date: Wed, 10 Mar 2004 01:37:16 +0000 (+0000) Subject: Fixed 'call on non-object' error on Special:Contributions X-Git-Tag: 1.3.0beta1~825 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=8bbad38d4fed6f7c0fcde98f2d870a1db4e66217;p=lhc%2Fweb%2Fwiklou.git Fixed 'call on non-object' error on Special:Contributions --- diff --git a/includes/SpecialContributions.php b/includes/SpecialContributions.php index a68c7c20b7..11f2366dde 100644 --- a/includes/SpecialContributions.php +++ b/includes/SpecialContributions.php @@ -9,7 +9,7 @@ function wfSpecialContributions( $par = "" ) if( $par ) $target = $par; else - $target = $wgResult->getVal( 'target' ); + $target = $wgRequest->getVal( 'target' ); if ( "" == $target ) { $wgOut->errorpage( "notargettitle", "notargettext" );