mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-23 14:28:45 +01:00
* adressbook: fix for Stylite Tracker bug#1152; Links for Addressbook where not shown anymore
This commit is contained in:
parent
ac52f999c3
commit
9f45bea953
@ -1418,6 +1418,7 @@ class addressbook_ui extends addressbook_bo
|
||||
$content['created'] = $this->now_su;
|
||||
unset($state);
|
||||
}
|
||||
|
||||
if ($_GET['msg']) $content['msg'] = strip_tags($_GET['msg']); // dont allow HTML!
|
||||
|
||||
if($content && $_GET['makecp']) // copy the contact
|
||||
@ -1445,7 +1446,7 @@ class addressbook_ui extends addressbook_bo
|
||||
}
|
||||
else
|
||||
{
|
||||
if (is_int($contact_id)) $content['link_to']['to_id'] = $contact_id;
|
||||
if (is_numeric($contact_id)) $content['link_to']['to_id'] = $contact_id;
|
||||
}
|
||||
// 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']))
|
||||
|
Loading…
Reference in New Issue
Block a user