$res = $this->select( __METHOD__ );
foreach ( $res as $row ) {
$fit = $result->addValue( array( 'query', 'pages', $row->page ),
- 'anoncontributors', $row->anons
+ 'anoncontributors', (int)$row->anons
);
if ( !$fit ) {
// This not fitting isn't reasonable, so it probably means that
}
$fit = $this->addPageSubItem( $row->page,
- array( 'userid' => $row->user, 'name' => $row->username ),
+ array( 'userid' => (int)$row->user, 'name' => $row->username ),
'user'
);
if ( !$fit ) {