X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryPageProps.php;h=61d8a9410fe9bd9297ce0b0a5b23f407fed91856;hb=8963110d01b0f376d900171fe7506fed5df80cf8;hp=325800428022fc08965e799cc67d311baba26fb1;hpb=83ec9c66498ced5c95f52de4fd0ad54b0546b116;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 ) {