- CRM_Core_Error::fatal("Dedupe rule not found for selected contacts");
- }
- if (empty($rgBao->contactIds) && !empty($searchLimit)) {
- $limitedContacts = civicrm_api3('Contact', 'get', array(
- 'return' => 'id',
- 'contact_type' => $rgBao->contact_type,
- 'options' => array('limit' => $searchLimit),
- ));
- $rgBao->contactIds = array_keys($limitedContacts['values']);