X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiImport.php;h=596ab75e4820eca38ab259dfe8418d71ac878693;hb=04179d3a5ce90f3f967d0e004fdf68bd45b04541;hp=822711aa0274b3d38f9a60b45138662df0d476a5;hpb=967a96e7fa5910f8fc451590decb381dbfb481ba;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiImport.php b/includes/api/ApiImport.php index 822711aa02..596ab75e48 100644 --- a/includes/api/ApiImport.php +++ b/includes/api/ApiImport.php @@ -207,7 +207,7 @@ class ApiImportReporter extends ImportReporter { $r['invalid'] = true; } else { ApiQueryBase::addTitleInfo( $r, $title ); - $r['revisions'] = intval( $successCount ); + $r['revisions'] = (int)$successCount; } $this->mResultArr[] = $r;