diff options
Diffstat (limited to 'includes/api/ApiQueryUserContributions.php')
-rw-r--r-- | includes/api/ApiQueryUserContributions.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/api/ApiQueryUserContributions.php b/includes/api/ApiQueryUserContributions.php index e5ec67d0..e3030944 100644 --- a/includes/api/ApiQueryUserContributions.php +++ b/includes/api/ApiQueryUserContributions.php @@ -340,7 +340,7 @@ class ApiQueryContributions extends ApiQueryBase { } // Any rows where we can't view the user were filtered out in the query. - $vals['userid'] = $row->rev_user; + $vals['userid'] = (int)$row->rev_user; $vals['user'] = $row->rev_user_text; if ( $row->rev_deleted & Revision::DELETED_USER ) { $vals['userhidden'] = true; @@ -491,7 +491,8 @@ class ApiQueryContributions extends ApiQueryBase { 'flags', 'patrolled', 'tags' - ) + ), + ApiBase::PARAM_HELP_MSG_PER_VALUE => array(), ), 'show' => array( ApiBase::PARAM_ISMULTI => true, |