From: Ævar Arnfjörð Bjarmason Date: Wed, 12 Oct 2005 06:14:47 +0000 (+0000) Subject: * Using static there produces some satanic error message X-Git-Tag: 1.6.0~1451 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=a0c4d94dce77443ef142dc63b7b9f336bac9668d;p=lhc%2Fweb%2Fwiklou.git * Using static there produces some satanic error message --- diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index 97b42fad91..690bc849dc 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -182,7 +182,7 @@ class SpecialPage function getRedirect( $name ) { global $wgUser; - static $redirects = array( + $redirects = array( 'Mypage' => Title::makeTitle( NS_USER, $wgUser->getName() ), 'Mytalk' => Title::makeTitle( NS_USER_TALK, $wgUser->getName() ), 'Mycontributions' => Title::makeTitle( NS_SPECIAL, 'Contributions/' . $wgUser->getName() ),