Merge "Cast user recentactions param type to integer for ApiQueryAllUsers with activeusers=1."
This commit is contained in:
commit
f588b107e5
1 changed files with 1 additions and 1 deletions
|
|
@ -284,7 +284,7 @@ class ApiQueryAllUsers extends ApiQueryBase {
|
|||
ApiBase::dieDebug( __METHOD__, 'Saw more duplicate rows than expected' );
|
||||
}
|
||||
|
||||
if ( $params['activeusers'] && $row->recentactions === 0 ) {
|
||||
if ( $params['activeusers'] && (int)$row->recentactions === 0 ) {
|
||||
// activeusers cache was out of date
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue