fixed only partially translated alarms

This commit is contained in:
Ralf Becker 2012-05-15 14:42:02 +00:00
parent 5b0ecf0491
commit f5517a1ff8

View File

@ -906,6 +906,10 @@ class calendar_boupdate extends calendar_bo
{
return False; // no rights
}
// need to load calendar translations and set currentapp, so calendar can reload a different lang
translation::add_app('calendar');
$GLOBALS['egw_info']['flags']['currentapp'] = 'calendar';
$ret = $this->send_update(MSG_ALARM,$to_notify,$event,False,$alarm['owner']);
// create a new alarm for recuring events for the next event, if one exists