mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-03-11 05:28:48 +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;
|
break;
|
||||||
}
|
}
|
||||||
$msg = lang('Permission denied');
|
$msg = lang('Permission denied');
|
||||||
|
$button = '';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -438,6 +439,12 @@ class calendar_uiforms extends calendar_ui
|
|||||||
$button = '';
|
$button = '';
|
||||||
break;
|
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'])
|
if (!$event['participants'])
|
||||||
{
|
{
|
||||||
$msg = lang('Error: no participants selected !!!');
|
$msg = lang('Error: no participants selected !!!');
|
||||||
|
Loading…
Reference in New Issue
Block a user