Fix link ids (copy/paste error)

This commit is contained in:
Nathan Gray 2012-01-16 15:38:27 +00:00
parent e05db77a24
commit 637b2c9150

View File

@ -214,7 +214,7 @@ class calendar_merge extends bo_merge
$replacements['$$'.($prefix?$prefix.'/':'').'links_attachments$$'] = $this->get_links('calendar', $event['id']);
foreach(array_keys($GLOBALS['egw_info']['user']['apps']) as $app)
{
$replacements["$$".($prefix?$prefix.'/':'')."links/{$app}$$"] = $this->get_links('calendar',$id, $app);
$replacements["$$".($prefix?$prefix.'/':'')."links/{$app}$$"] = $this->get_links('calendar',$event['id'], $app);
}
return $replacements;