X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryLangLinks.php;h=b8c30acbefaa512c678a8d3505c8cd569510da2c;hb=25242105e8fd03c9900250bdf9ea91be9a286625;hp=f33a67fe96efca3ce7536fd11226f25072eafa32;hpb=35f00337816ed66a7ca8bb6eeb5fccf422ee4e1a;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 " .