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:
6fd85d1
)
Fix r83390, need to do where ipb_deleted IS NULL as we're left joining in the table...
author
Sam Reed
<reedy@users.mediawiki.org>
Mon, 7 Mar 2011 22:58:26 +0000
(22:58 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Mon, 7 Mar 2011 22:58:26 +0000
(22:58 +0000)
Duh
includes/api/ApiQueryBase.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiQueryBase.php
b/includes/api/ApiQueryBase.php
index
a6469ab
..
e49da10
100644
(file)
--- a/
includes/api/ApiQueryBase.php
+++ b/
includes/api/ApiQueryBase.php
@@
-491,7
+491,7
@@
abstract class ApiQueryBase extends ApiBase {
// Don't show hidden names
if ( !$userCanViewHiddenUsers ) {
- $this->addWhere
Fld( 'ipb_deleted', 0
);
+ $this->addWhere
( 'ipb_deleted = 0 OR ipb_deleted IS NULL'
);
}
}
}