Skip to content

Commit

Permalink
Merge pull request #10615 from mepps/CRM-20828
Browse files Browse the repository at this point in the history
CRM-20828 Remove limit 1 from saved mappings selection
  • Loading branch information
eileenmcnaughton authored Jul 10, 2017
2 parents d8dd18e + 78fcf20 commit 03cefdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Core/BAO/Mapping.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 03cefdd

Please sign in to comment.