mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
Fix contact can't be cleared
This commit is contained in:
parent
b91560f79c
commit
4d88ec8445
@ -1044,6 +1044,8 @@ class infolog_bo
|
||||
protected function write_check_links(&$values)
|
||||
{
|
||||
$old_link_id = (int)$values['info_link_id'];
|
||||
if($values['info_contact'])
|
||||
{
|
||||
if(is_array($values['info_contact']))
|
||||
{
|
||||
// eTemplate2 returns the array all ready
|
||||
@ -1075,6 +1077,7 @@ class infolog_bo
|
||||
{
|
||||
unset($values['info_link_id']);
|
||||
}
|
||||
}
|
||||
if ($old_link_id && $old_link_id != $values['info_link_id'])
|
||||
{
|
||||
$link = Link::get_link($old_link_id);
|
||||
|
Loading…
Reference in New Issue
Block a user