X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryImages.php;h=153d1a454728f63af6940f207ec03f546177e5cd;hb=4d393de9d87c21a4cc79ecf44ecd16bd1b4dd9e0;hp=01a54de9e94ed6e2b0698efbca274fb4be51e8b3;hpb=1b13888ed6bd09731f10045650714a3392bb55df;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryImages.php b/includes/api/ApiQueryImages.php index 01a54de9e9..153d1a4547 100644 --- a/includes/api/ApiQueryImages.php +++ b/includes/api/ApiQueryImages.php @@ -1,9 +1,5 @@ @gmail.com" * * This program is free software; you can redistribute it and/or modify @@ -64,7 +60,7 @@ class ApiQueryImages extends ApiQueryGeneratorBase { $cont = explode( '|', $params['continue'] ); $this->dieContinueUsageIf( count( $cont ) != 2 ); $op = $params['dir'] == 'descending' ? '<' : '>'; - $ilfrom = intval( $cont[0] ); + $ilfrom = (int)$cont[0]; $ilto = $this->getDB()->addQuotes( $cont[1] ); $this->addWhere( "il_from $op $ilfrom OR " .