Merge "Remove unused variable in MultiHttpClient CURLOPT_READFUNCTION callback"
[lhc/web/wiklou.git] / includes / api / ApiQueryIWBacklinks.php
index 3037a72..b015223 100644 (file)
@@ -67,7 +67,7 @@ class ApiQueryIWBacklinks extends ApiQueryGeneratorBase {
                        $op = $params['dir'] == 'descending' ? '<' : '>';
                        $prefix = $db->addQuotes( $cont[0] );
                        $title = $db->addQuotes( $cont[1] );
-                       $from = intval( $cont[2] );
+                       $from = (int)$cont[2];
                        $this->addWhere(
                                "iwl_prefix $op $prefix OR " .
                                "(iwl_prefix = $prefix AND " .