mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
Get contact link working with et2
This commit is contained in:
parent
b802aa64a8
commit
a99deb4473
@ -1606,6 +1606,12 @@ else
|
||||
{
|
||||
$old_link_id = (int)$content['info_link_id'];
|
||||
list($app,$id) = is_array($content['info_contact']) ? $content['info_contact'] : explode(':',$content['info_contact'], 2);
|
||||
// eTemplate2 returns the array all ready
|
||||
if(!$app && is_array($content['info_contact']))
|
||||
{
|
||||
$app = $content['info_contact']['app'];
|
||||
$id = $content['info_contact']['id'];
|
||||
}
|
||||
if($app && $id)
|
||||
{
|
||||
if(!is_array($content['link_to']))
|
||||
|
Loading…
Reference in New Issue
Block a user