mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 21:53:35 +00:00
Value for ApiResult::META_BC_BOOLS must be an array
Bug: T149279 Change-Id: I140ea6b299d263d3fbb2bdd87d88f2744e9c63cf
This commit is contained in:
parent
9efd70133f
commit
b31d903900
|
@ -55,7 +55,7 @@ class ApiAbuseFilterCheckMatch extends ApiBase {
|
|||
}
|
||||
|
||||
$result = array(
|
||||
ApiResult::META_BC_BOOLS => 'result',
|
||||
ApiResult::META_BC_BOOLS => [ 'result' ],
|
||||
'result' => AbuseFilter::checkConditions( $params['filter'], $vars ),
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue