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
Set forgotten api parameters types
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiUnblock.php
diff --git
a/includes/api/ApiUnblock.php
b/includes/api/ApiUnblock.php
index
d10ca8f
..
bdafe13
100644
(file)
--- a/
includes/api/ApiUnblock.php
+++ b/
includes/api/ApiUnblock.php
@@
-98,7
+98,9
@@
class ApiUnblock extends ApiBase {
public function getAllowedParams() {
return array(
- 'id' => null,
+ 'id' => array(
+ ApiBase::PARAM_TYPE => 'integer',
+ ),
'user' => null,
'token' => null,
'gettoken' => false,