Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.12
-
Fix Version/s: 4.7.13
-
Component/s: CiviCRM API
-
Labels:
-
Documentation Required?:None
-
Funding Source:Contributed Code
Description
API queries which filter on multiple contact_sub_type's don't work when using multiple IN values.
CRM/Contact/Bao/Query.php #2872
foreach ($value as $k => $v) {
if (!empty($k))
}
It appears the values are passed to the function, however the array key of 0 is evaluated as empty, so only 1 condition is included in the search.