forked from extern/egroupware
* Addressbook - Fix duplicate detection when editing contact
This commit is contained in:
parent
84cc2bedc8
commit
16a4d95b1c
@ -211,7 +211,7 @@ class addressbook_hooks
|
||||
'values' => $duplicate_options,
|
||||
'help' => 'Fields to consider when looking for duplicate contacts.',
|
||||
'admin' => false,
|
||||
'default' => 'n_family, org_name, contact_email'
|
||||
'default' => 'n_family,org_name,contact_email'
|
||||
);
|
||||
$settings['duplicate_threshold'] = array(
|
||||
'type' => 'input',
|
||||
|
@ -2626,7 +2626,7 @@ window.egw_LAB.wait(function() {
|
||||
$specified_count = 0;
|
||||
foreach($fields as $field)
|
||||
{
|
||||
if($values[$field])
|
||||
if($values[trim($field)])
|
||||
{
|
||||
$specified_count++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user