dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
API: Filter lists of IDs before sending them to the database
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryBlocks.php
diff --git
a/includes/api/ApiQueryBlocks.php
b/includes/api/ApiQueryBlocks.php
index
caaebc9
..
95f8cda
100644
(file)
--- a/
includes/api/ApiQueryBlocks.php
+++ b/
includes/api/ApiQueryBlocks.php
@@
-103,7
+103,7
@@
class ApiQueryBlocks extends ApiQueryBase {
}
if ( isset( $params['ids'] ) ) {
- $this->addWhere
Fld(
'ipb_id', $params['ids'] );
+ $this->addWhere
IDsFld( 'ipblocks',
'ipb_id', $params['ids'] );
}
if ( isset( $params['users'] ) ) {
$usernames = [];