diff options
Diffstat (limited to 'includes/api/ApiQueryLinks.php')
-rw-r--r-- | includes/api/ApiQueryLinks.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/api/ApiQueryLinks.php b/includes/api/ApiQueryLinks.php index 144c7582b032..200fda886446 100644 --- a/includes/api/ApiQueryLinks.php +++ b/includes/api/ApiQueryLinks.php @@ -117,8 +117,8 @@ class ApiQueryLinks extends ApiQueryGeneratorBase { $cont = explode( '|', $params['continue'] ); $this->dieContinueUsageIf( count( $cont ) != 3 ); $op = $params['dir'] == 'descending' ? '<' : '>'; - $plfrom = intval( $cont[0] ); - $plns = intval( $cont[1] ); + $plfrom = (int)$cont[0]; + $plns = (int)$cont[1]; $pltitle = $this->getDB()->addQuotes( $cont[2] ); $this->addWhere( "{$this->prefix}_from $op $plfrom OR " . |