From 6ae4b064423625261e62d3a7c89622122ef2e0e2 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 11 Jan 2008 05:06:10 +0000 Subject: [PATCH] Explicitly use 0 like the other checks here --- includes/Title.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Title.php b/includes/Title.php index 74090b7cbe..89d02d6e32 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1257,7 +1257,7 @@ class Title { */ private function getTitleProtection() { // Can't protect pages in special namespaces - if ( $this->getNamespace() < NS_MAIN ) { + if ( $this->getNamespace() < 0 ) { return false; } -- 2.20.1