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
Update RELEASE-NOTES-1.34 for various backports
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiParamInfo.php
diff --git
a/includes/api/ApiParamInfo.php
b/includes/api/ApiParamInfo.php
index
c81cf7e
..
f196735
100644
(file)
--- a/
includes/api/ApiParamInfo.php
+++ b/
includes/api/ApiParamInfo.php
@@
-361,7
+361,7
@@
class ApiParamInfo extends ApiBase {
break;
case 'integer':
case 'limit':
break;
case 'integer':
case 'limit':
- $item['default'] =
intval( $settings[ApiBase::PARAM_DFLT] )
;
+ $item['default'] =
(int)$settings[ApiBase::PARAM_DFLT]
;
break;
case 'timestamp':
$item['default'] = wfTimestamp( TS_ISO_8601, $settings[ApiBase::PARAM_DFLT] );
break;
case 'timestamp':
$item['default'] = wfTimestamp( TS_ISO_8601, $settings[ApiBase::PARAM_DFLT] );