X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fapi%2FApiQueryUserContributions.php;h=e30309444d6477a4e105d15e881a86324e1882b4;hp=e5ec67d0fd1767fb9b7ed94a7337b5dc33f52325;hb=59ebff658ce912c1b0e7ef8d8f9bfec5a4e17b39;hpb=d4cc4117d79648ab5f6d1d3f7dc84b043b073008 diff --git a/includes/api/ApiQueryUserContributions.php b/includes/api/ApiQueryUserContributions.php index e5ec67d0fd..e30309444d 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,