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
Merge "Remove unused 'XMPGetInfo' and 'XMPGetResults' hooks"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryProtectedTitles.php
diff --git
a/includes/api/ApiQueryProtectedTitles.php
b/includes/api/ApiQueryProtectedTitles.php
index
fb65e5e
..
033310d
100644
(file)
--- a/
includes/api/ApiQueryProtectedTitles.php
+++ b/
includes/api/ApiQueryProtectedTitles.php
@@
-123,7
+123,7
@@
class ApiQueryProtectedTitles extends ApiQueryGeneratorBase {
}
if ( isset( $prop['userid'] ) || /*B/C*/isset( $prop['user'] ) ) {
- $vals['userid'] = $row->pt_user;
+ $vals['userid'] =
(int)
$row->pt_user;
}
if ( isset( $prop['comment'] ) ) {