dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3922ee4
)
*Use is_null() for namespace
author
Aaron Schulz
<aaron@users.mediawiki.org>
Wed, 21 Mar 2007 09:48:26 +0000
(09:48 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Wed, 21 Mar 2007 09:48:26 +0000
(09:48 +0000)
includes/SpecialProtectedpages.php
patch
|
blob
|
history
diff --git
a/includes/SpecialProtectedpages.php
b/includes/SpecialProtectedpages.php
index
9d9a15f
..
5057c49
100644
(file)
--- a/
includes/SpecialProtectedpages.php
+++ b/
includes/SpecialProtectedpages.php
@@
-210,7
+210,7
@@
class ProtectedPagesPager extends ReverseChronologicalPager {
$conds[] = 'pr_type=' . $this->mDb->addQuotes( $this->type );
if ( $this->level )
$conds[] = 'pr_level=' . $this->mDb->addQuotes( $this->level );
- if (
$this->namespace
)
+ if (
!is_null($this->namespace)
)
$conds[] = 'page_namespace=' . $this->mDb->addQuotes( $this->namespace );
return array(
'tables' => array( 'page_restrictions', 'page' ),