Value for ApiResult::META_BC_BOOLS must be an array

Bug: T149279
Change-Id: I140ea6b299d263d3fbb2bdd87d88f2744e9c63cf
This commit is contained in:
Brad Jorsch 2016-10-27 10:10:31 -04:00
parent 9efd70133f
commit b31d903900

View file

@ -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 ),
);