dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecf1d0d
)
API: (bug 16115) API action=block dies with an exception when $wgBlockAllowsUTEdit...
author
Roan Kattouw
<catrope@users.mediawiki.org>
Sat, 25 Oct 2008 22:22:22 +0000
(22:22 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Sat, 25 Oct 2008 22:22:22 +0000
(22:22 +0000)
includes/api/ApiBlock.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiBlock.php
b/includes/api/ApiBlock.php
index
a760002
..
9cdf8ea
100644
(file)
--- a/
includes/api/ApiBlock.php
+++ b/
includes/api/ApiBlock.php
@@
-127,7
+127,7
@@
class ApiBlock extends ApiBase {
'autoblock' => false,
'noemail' => false,
'hidename' => false,
- 'allowusertalk' => $wgBlockAllowsUTEdit,
+ 'allowusertalk' =>
(bool)
$wgBlockAllowsUTEdit,
);
}