X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fapi%2FApiQueryPageProps.php;h=61d8a9410fe9bd9297ce0b0a5b23f407fed91856;hb=6ebfe8578c8a14913df2426583a68b2a0803e6d2;hp=325800428022fc08965e799cc67d311baba26fb1;hpb=d3ea8b412c673dca42c7e4426860b321ed224c14;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 ) {