X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fapi%2FApiQueryIWLinks.php;h=e841788623150938bb10ffe9821fafbce2789540;hp=9313af30efa89451285e544f6c58501e83b26da8;hb=9283760f340c6971d748fb574a35453fa7928807;hpb=d506839ee9dfe6818b8a62a6a78e24de520708b0 diff --git a/includes/api/ApiQueryIWLinks.php b/includes/api/ApiQueryIWLinks.php index 9313af30ef..e841788623 100644 --- a/includes/api/ApiQueryIWLinks.php +++ b/includes/api/ApiQueryIWLinks.php @@ -2,8 +2,6 @@ /** * API for MediaWiki 1.17+ * - * Created on May 14, 2010 - * * Copyright © 2010 Sam Reed * Copyright © 2006 Yuri Astrakhan "@gmail.com" * @@ -75,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(