mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
fixed wrong warning "event was edited by other user" after storing an event more then once, was caused always splitting series, but not checking that condition
This commit is contained in:
parent
e70a7bcf07
commit
6b4bc0547c
@ -776,6 +776,9 @@ class calendar_uiforms extends calendar_ui
|
||||
$noerror = false;
|
||||
}
|
||||
elseif ($conflicts > 0)
|
||||
{
|
||||
// series moved by splitting in two --> move alarms and exceptions
|
||||
if ($old_event && $old_event['id'] != $event['id'])
|
||||
{
|
||||
foreach ((array)$old_alarms as $alarm)
|
||||
{
|
||||
@ -827,7 +830,7 @@ class calendar_uiforms extends calendar_ui
|
||||
$this->bo->update($exception, true, true, true, true, $msg=null, $content['no_notifications']);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$message = lang('Event saved');
|
||||
if ($status_reset_to_unknown)
|
||||
|
Loading…
Reference in New Issue
Block a user