From: Aaron Schulz Date: Fri, 11 Jan 2008 05:06:10 +0000 (+0000) Subject: Explicitly use 0 like the other checks here X-Git-Tag: 1.31.0-rc.0~50062 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/gestion/rappel_supprimer.php?a=commitdiff_plain;h=6ae4b064423625261e62d3a7c89622122ef2e0e2;p=lhc%2Fweb%2Fwiklou.git Explicitly use 0 like the other checks here --- 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; }