mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-27 00:09:13 +01:00
* Addressbook: Fix files and entries linked to a new contact were not saved
This commit is contained in:
parent
724b2ad329
commit
ca6ea3a436
@ -2304,7 +2304,7 @@ class addressbook_ui extends addressbook_bo
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (is_numeric($contact_id)) $content['link_to']['to_id'] = $contact_id;
|
if ($contact_id && is_numeric($contact_id)) $content['link_to']['to_id'] = $contact_id;
|
||||||
}
|
}
|
||||||
// automatic link new entries to entries specified in the url
|
// automatic link new entries to entries specified in the url
|
||||||
if (!$contact_id && isset($_REQUEST['link_app']) && isset($_REQUEST['link_id']) && !is_array($content['link_to']['to_id']))
|
if (!$contact_id && isset($_REQUEST['link_app']) && isset($_REQUEST['link_id']) && !is_array($content['link_to']['to_id']))
|
||||||
|
Loading…
Reference in New Issue
Block a user