X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fapi%2FApiQueryLangBacklinks.php;h=383f3039ed734df11900ceae227c52c75432dec7;hp=7145d4da8004166c7aed649fd41e75285710d9a4;hb=93de72d9ae938e93bf89a7c45a29e9bb736d7b3c;hpb=32fd2342e5648ec7d37eecb00fc4044a3a7526a9 diff --git a/includes/api/ApiQueryLangBacklinks.php b/includes/api/ApiQueryLangBacklinks.php index 7145d4da80..383f3039ed 100644 --- a/includes/api/ApiQueryLangBacklinks.php +++ b/includes/api/ApiQueryLangBacklinks.php @@ -130,7 +130,7 @@ class ApiQueryLangBacklinks extends ApiQueryGeneratorBase { if ( !is_null( $resultPageSet ) ) { $pages[] = Title::newFromRow( $row ); } else { - $entry = [ 'pageid' => $row->page_id ]; + $entry = [ 'pageid' => (int)$row->page_id ]; $title = Title::makeTitle( $row->page_namespace, $row->page_title ); ApiQueryBase::addTitleInfo( $entry, $title );