mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
* Calendar - Fix alarms set in different timezone from server moved when saving event - now fixed default alarm too
This commit is contained in:
parent
c7d9577649
commit
540f3d574d
@ -1321,6 +1321,7 @@ class calendar_boupdate extends calendar_bo
|
||||
//error_log(__LINE__.': '.__METHOD__."(".array2string($event).") deleting alarm=".array2string($alarm).", $status=".array2string($alarm));
|
||||
}
|
||||
}
|
||||
$alarm['time'] = $this->date2ts($alarm['time'],true); // user to server-time
|
||||
}
|
||||
}
|
||||
// update all existing alarm times, in case alarm got moved and alarms are not include in $event
|
||||
@ -1347,10 +1348,6 @@ class calendar_boupdate extends calendar_bo
|
||||
}
|
||||
}
|
||||
}
|
||||
foreach($event['alarm'] as $id => &$alarm)
|
||||
{
|
||||
$alarm['time'] = $this->date2ts($alarm['time'],true); // user to server-time
|
||||
}
|
||||
}
|
||||
|
||||
// you should always update modification time (ctag depends on it!)
|
||||
|
Loading…
Reference in New Issue
Block a user