mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
reverted accidently commited cvs_import
This commit is contained in:
parent
ecb0667898
commit
5c4f58f196
@ -416,11 +416,6 @@
|
|||||||
}
|
}
|
||||||
if(!$_POST['debug'] && !$empty) // dont import empty contacts
|
if(!$_POST['debug'] && !$empty) // dont import empty contacts
|
||||||
{
|
{
|
||||||
if ($values['email'] && ($existing = $GLOBALS['egw']->contacts->search(array('email'=>$values['email']),false)) &&
|
|
||||||
count($existing) == 1)
|
|
||||||
{
|
|
||||||
$values = array_merge($existing[0],$values);
|
|
||||||
}
|
|
||||||
$GLOBALS['egw']->contacts->save($values);
|
$GLOBALS['egw']->contacts->save($values);
|
||||||
//echo "<p>adding: ".print_r($values,true)."</p>\n";
|
//echo "<p>adding: ".print_r($values,true)."</p>\n";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user