mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Fix for sending email updates on new events/appts.
This commit is contained in:
parent
68f73e1ac3
commit
5098bae2ea
@ -79,10 +79,13 @@ class calendar__
|
||||
|
||||
$tz_offset = ((60 * 60) * intval($temp_tz_offset));
|
||||
|
||||
$t_old_start_time = mktime($old_event->start->hour,$old_event->start->min,$old_event->start->sec,$old_event->start->month,$old_event->start->mday,$old_event->start->year);
|
||||
if($t_old_start_time < (time() - 86400))
|
||||
if($old_event != False)
|
||||
{
|
||||
return False;
|
||||
$t_old_start_time = mktime($old_event->start->hour,$old_event->start->min,$old_event->start->sec,$old_event->start->month,$old_event->start->mday,$old_event->start->year);
|
||||
if($t_old_start_time < (time() - 86400))
|
||||
{
|
||||
return False;
|
||||
}
|
||||
}
|
||||
|
||||
$temp_user = $phpgw_info['user'];
|
||||
|
Loading…
Reference in New Issue
Block a user