mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Fix event recur_interval mismatch issue
This commit is contained in:
parent
0f77f7e802
commit
43c5373b4d
@ -563,6 +563,12 @@ ORDER BY cal_user_type, cal_usre_id
|
||||
unset($event['id']);
|
||||
$set_recurrences = !$cal_id && $event['recur_type'] != MCAL_RECUR_NONE;
|
||||
|
||||
if ($event['recur_type'] != MCAL_RECUR_NONE &&
|
||||
!(int)$event['recur_interval'])
|
||||
{
|
||||
$event['recur_interval'] = 1;
|
||||
}
|
||||
|
||||
// add colum prefix 'cal_' if there's not already a 'recur_' prefix
|
||||
foreach($event as $col => $val)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user