diff --git a/CRM/Core/BAO/Mapping.php b/CRM/Core/BAO/Mapping.php index 398ccdb9665b..4aeb934a1cf1 100644 --- a/CRM/Core/BAO/Mapping.php +++ b/CRM/Core/BAO/Mapping.php @@ -115,7 +115,7 @@ public static function add($params) { * Array of mapping names, keyed by id. */ public static function getMappings($mappingType) { - $result = civicrm_api3('Mapping', 'get', array('mapping_type_id' => $mappingType, 'options' => array('limit' => 1, 'sort' => 'name'))); + $result = civicrm_api3('Mapping', 'get', array('mapping_type_id' => $mappingType, 'options' => array('sort' => 'name'))); $mapping = array(); foreach ($result['values'] as $key => $value) {