X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryExtLinksUsage.php;h=4294f0ad8c857b2067083b30a5646f01bb9b7225;hb=4691389fa46f79cbeaf2daffda407cf7daa66fd4;hp=d508c55fec021bc3fc6b142c2720a309bb923ce7;hpb=41fa0b12e7c4d38c7e7d20ac099394015ef7a55c;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryExtLinksUsage.php b/includes/api/ApiQueryExtLinksUsage.php index d508c55fec..4294f0ad8c 100644 --- a/includes/api/ApiQueryExtLinksUsage.php +++ b/includes/api/ApiQueryExtLinksUsage.php @@ -155,7 +155,7 @@ class ApiQueryExtLinksUsage extends ApiQueryGeneratorBase { ApiResult::META_TYPE => 'assoc', ]; if ( $fld_ids ) { - $vals['pageid'] = intval( $row->page_id ); + $vals['pageid'] = (int)$row->page_id; } if ( $fld_title ) { $title = Title::makeTitle( $row->page_namespace, $row->page_title );