X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryLangLinks.php;h=b8c30acbefaa512c678a8d3505c8cd569510da2c;hb=9e8439e79d67788916d488f645108f79016d9aca;hp=f33a67fe96efca3ce7536fd11226f25072eafa32;hpb=b79bc0a2740b991525aae355ed216e0b9dc3aa86;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryLangLinks.php b/includes/api/ApiQueryLangLinks.php index f33a67fe96..b8c30acbef 100644 --- a/includes/api/ApiQueryLangLinks.php +++ b/includes/api/ApiQueryLangLinks.php @@ -70,7 +70,7 @@ class ApiQueryLangLinks extends ApiQueryBase { $cont = explode( '|', $params['continue'] ); $this->dieContinueUsageIf( count( $cont ) != 2 ); $op = $params['dir'] == 'descending' ? '<' : '>'; - $llfrom = intval( $cont[0] ); + $llfrom = (int)$cont[0]; $lllang = $this->getDB()->addQuotes( $cont[1] ); $this->addWhere( "ll_from $op $llfrom OR " .