mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
fix for bug #351 "Mail notification contains invalid link (to non-existant view)" and additionally added "date" to the link to pick the correct state for particpants in recurring events
This commit is contained in:
parent
15280f17a0
commit
d391c01c42
@ -841,7 +841,8 @@ class bocalupdate extends bocal
|
||||
$details['participants'] = $details['participants'] ? implode("\n",$details['participants']) : '';
|
||||
|
||||
$event_arr['link']['field'] = lang('URL');
|
||||
$link = $GLOBALS['egw_info']['server']['webserver_url'].'/index.php?menuaction=calendar.uiforms.view&cal_id='.$event['id'].'&no_popup=1';
|
||||
$eventStart_arr = $this->date2array($event['start']); // give this as 'date' to the link to pick the right recurrence for the participants state
|
||||
$link = $GLOBALS['egw_info']['server']['webserver_url'].'/index.php?menuaction=calendar.uiforms.edit&cal_id='.$event['id'].'&date='.$eventStart_arr['full'].'&no_popup=1';
|
||||
// if url is only a path, try guessing the rest ;-)
|
||||
if ($link{0} == '/')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user