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
/
ApiParse.php
diff --git
a/includes/api/ApiParse.php
b/includes/api/ApiParse.php
index
9f561b7
..
855b73d
100644
(file)
--- a/
includes/api/ApiParse.php
+++ b/
includes/api/ApiParse.php
@@
-330,7
+330,7
@@
class ApiParse extends ApiBase {
}
if ( !is_null( $oldid ) ) {
- $result_array['revid'] =
intval( $oldid )
;
+ $result_array['revid'] =
(int)$oldid
;
}
if ( $params['redirects'] && !is_null( $redirValues ) ) {