From 5875bbc7da4e4774d0672a8cb7418257781317ad Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Tue, 3 May 2005 13:05:50 +0000 Subject: [PATCH] * 0 => NS_MAIN --- includes/SpecialPreferences.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } } -- 2.20.1