mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-13 17:27:20 +00:00
Value for ApiResult::META_BC_BOOLS must be an array
Bug: T149279
Change-Id: I140ea6b299d263d3fbb2bdd87d88f2744e9c63cf
(cherry picked from commit b31d903900
)
This commit is contained in:
parent
9efd70133f
commit
c3be1ce87f
|
@ -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