Skip to content
Snippets Groups Projects
Commit 6f2c4a24 authored by eileen's avatar eileen
Browse files

Fix default mode on Contact.merge api

I believe this was a change I made in error & only the Contact.get_merge_conflicts api should
receive an array for 'mode'. The mode is part of a loop within that api
parent a1b3cb01
Branches
Tags
No related merge requests found
......@@ -1195,7 +1195,7 @@ function _civicrm_api3_contact_merge_spec(&$params) {
$params['mode'] = [
'title' => ts('Dedupe mode'),
'description' => ts("In 'safe' mode conflicts will result in no merge. In 'aggressive' mode the merge will still proceed (hook dependent)"),
'api.default' => ['safe', 'aggressive'],
'api.default' => 'safe',
'options' => ['safe' => ts('Abort on unhandled conflict'), 'aggressive' => ts('Proceed on unhandled conflict. Note hooks may change handling here.')],
];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment