From: Ævar Arnfjörð Bjarmason Date: Tue, 3 May 2005 13:05:50 +0000 (+0000) Subject: * 0 => NS_MAIN X-Git-Tag: 1.5.0alpha2~339 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=5875bbc7da4e4774d0672a8cb7418257781317ad;p=lhc%2Fweb%2Fwiklou.git * 0 => NS_MAIN --- diff --git a/includes/SpecialPreferences.php b/includes/SpecialPreferences.php index 77bfb416f7..c6bd9210f5 100644 --- a/includes/SpecialPreferences.php +++ b/includes/SpecialPreferences.php @@ -314,7 +314,7 @@ class PreferencesForm { $namespaces = $wgContLang->getNamespaces(); foreach ( $namespaces as $i => $namespace ) { - if ( $i >= 0 ) { + if ( $i >= NS_MAIN ) { $this->mSearchNs[$i] = $wgUser->getOption( 'searchNs'.$i ); } }