forked from extern/egroupware
"added missing check if recur-endtime is before start, thanks to Hans-Juergen"
This commit is contained in:
parent
3312bcd595
commit
d77f7998af
@ -450,6 +450,7 @@ class calendar_uiforms extends calendar_ui
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
$msg = lang('Permission denied');
|
$msg = lang('Permission denied');
|
||||||
|
$button = '';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -459,6 +460,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