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
Cast various things that are supposed to be ints
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryBacklinksprop.php
diff --git
a/includes/api/ApiQueryBacklinksprop.php
b/includes/api/ApiQueryBacklinksprop.php
index
fe77882
..
dbed36c
100644
(file)
--- a/
includes/api/ApiQueryBacklinksprop.php
+++ b/
includes/api/ApiQueryBacklinksprop.php
@@
-277,7
+277,7
@@
class ApiQueryBacklinksprop extends ApiQueryGeneratorBase {
$vals = array();
if ( $fld_pageid ) {
- $vals['pageid'] = $row->page_id;
+ $vals['pageid'] =
(int)
$row->page_id;
}
if ( $fld_title ) {
ApiQueryBase::addTitleInfo( $vals,