aboutsummaryrefslogtreecommitdiffstats
path: root/includes/api/ApiQueryAllUsers.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/api/ApiQueryAllUsers.php')
-rw-r--r--includes/api/ApiQueryAllUsers.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/api/ApiQueryAllUsers.php b/includes/api/ApiQueryAllUsers.php
index 7b5df5047d2c..a54066153dd4 100644
--- a/includes/api/ApiQueryAllUsers.php
+++ b/includes/api/ApiQueryAllUsers.php
@@ -281,10 +281,10 @@ class ApiQueryAllUsers extends ApiQueryBase {
$data['hidden'] = true;
}
if ( $fld_editcount ) {
- $data['editcount'] = intval( $row->user_editcount );
+ $data['editcount'] = (int)$row->user_editcount;
}
if ( $params['activeusers'] ) {
- $data['recentactions'] = intval( $row->recentactions );
+ $data['recentactions'] = (int)$row->recentactions;
// @todo 'recenteditcount' is set for BC, remove in 1.25
$data['recenteditcount'] = $data['recentactions'];
}