dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use (int) rather than intval()
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiImport.php
diff --git
a/includes/api/ApiImport.php
b/includes/api/ApiImport.php
index
822711a
..
596ab75
100644
(file)
--- 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;