X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryPageProps.php;h=61d8a9410fe9bd9297ce0b0a5b23f407fed91856;hb=bcada513b17a85bc21a72b960865808fd841120b;hp=325800428022fc08965e799cc67d311baba26fb1;hpb=8d4eb29b3d7da5f25a95ddfdaf17d272c476d999;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryPageProps.php b/includes/api/ApiQueryPageProps.php index 3258004280..61d8a9410f 100644 --- a/includes/api/ApiQueryPageProps.php +++ b/includes/api/ApiQueryPageProps.php @@ -39,7 +39,7 @@ class ApiQueryPageProps extends ApiQueryBase { $this->params = $this->extractRequestParams(); if ( $this->params['continue'] ) { - $continueValue = intval( $this->params['continue'] ); + $continueValue = (int)$this->params['continue']; $this->dieContinueUsageIf( strval( $continueValue ) !== $this->params['continue'] ); $filteredPages = []; foreach ( $pages as $id => $page ) {