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:
Brad Jorsch 2016-10-27 10:10:31 -04:00 committed by Legoktm
parent 9efd70133f
commit c3be1ce87f

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