mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
"added missing check if recur-endtime is before start, thanks to Hans-Juergen"
This commit is contained in:
parent
b461e0481c
commit
13e7d5ffbc
@ -429,6 +429,7 @@ class calendar_uiforms extends calendar_ui
|
||||
break;
|
||||
}
|
||||
$msg = lang('Permission denied');
|
||||
$button = '';
|
||||
break;
|
||||
}
|
||||
|
||||
@ -438,6 +439,12 @@ class calendar_uiforms extends calendar_ui
|
||||
$button = '';
|
||||
break;
|
||||
}
|
||||
if ($event['recur_type'] != MCAL_RECUR_NONE && $event['recur_enddate'] && $event['start'] > $event['recur_enddate'])
|
||||
{
|
||||
$msg = lang('repetition').': '.lang('Error: Starttime has to be before the endtime !!!');
|
||||
$button = '';
|
||||
break;
|
||||
}
|
||||
if (!$event['participants'])
|
||||
{
|
||||
$msg = lang('Error: no participants selected !!!');
|
||||
|
Loading…
Reference in New Issue
Block a user