From 78fcf20041cd2f84f74752de7f95cff8185556c6 Mon Sep 17 00:00:00 2001 From: Margaret Epps Date: Thu, 6 Jul 2017 12:17:58 -0400 Subject: [PATCH] CRM-20828 Remove limit 1 to saved mappings selection --- CRM/Core/BAO/Mapping.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/BAO/Mapping.php b/CRM/Core/BAO/Mapping.php index bebf732f30cb..e64452f472af 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) {