X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryIWLinks.php;h=e841788623150938bb10ffe9821fafbce2789540;hb=b1972f3110360558d37b813a842fafff8a70abb0;hp=08c8abf163918ac61df6061bbcd6bf5fee15ead4;hpb=6f7e982df6479e27c3b17f2deda8404ef55f50e6;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryIWLinks.php b/includes/api/ApiQueryIWLinks.php index 08c8abf163..e841788623 100644 --- a/includes/api/ApiQueryIWLinks.php +++ b/includes/api/ApiQueryIWLinks.php @@ -73,7 +73,7 @@ class ApiQueryIWLinks extends ApiQueryBase { $this->dieContinueUsageIf( count( $cont ) != 3 ); $op = $params['dir'] == 'descending' ? '<' : '>'; $db = $this->getDB(); - $iwlfrom = intval( $cont[0] ); + $iwlfrom = (int)$cont[0]; $iwlprefix = $db->addQuotes( $cont[1] ); $iwltitle = $db->addQuotes( $cont[2] ); $this->addWhere(