Index: trunk/phase3/includes/api/ApiBlock.php |
— | — | @@ -87,7 +87,7 @@ |
88 | 88 | 'AutoBlock' => $params['autoblock'], |
89 | 89 | 'DisableEmail' => $params['noemail'], |
90 | 90 | 'HideUser' => $params['hidename'], |
91 | | - 'DisableUTEdit' => $params['allowusertalk'], |
| 91 | + 'DisableUTEdit' => !$params['allowusertalk'], |
92 | 92 | 'AlreadyBlocked' => $params['reblock'], |
93 | 93 | 'Watch' => $params['watchuser'], |
94 | 94 | 'Confirm' => true, |