mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 15:33:23 +01:00
make sure to not set a recur_date for a non-recurring event when setting a status (as recur_date has to be 0, for non-recurring events!)
This commit is contained in:
parent
17077fe581
commit
0d6e885ac3
@ -1885,6 +1885,11 @@ class calendar_boupdate extends calendar_bo
|
||||
{
|
||||
return false;
|
||||
}
|
||||
// make sure to not set a recur_date for a non-recurring event (as recur_date has to be 0, for non-recurring events!)
|
||||
if ($recur_date && ($event = $event || $this->read($cal_id, null, $ignore_acl)) && empty($event['recur_type']))
|
||||
{
|
||||
$recur_date = 0;
|
||||
}
|
||||
$quantity = $role = null;
|
||||
calendar_so::split_status($status, $quantity, $role);
|
||||
if ($this->log)
|
||||
|
Loading…
Reference in New Issue
Block a user