mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-16 10:21: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;
|
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;
|
$quantity = $role = null;
|
||||||
calendar_so::split_status($status, $quantity, $role);
|
calendar_so::split_status($status, $quantity, $role);
|
||||||
if ($this->log)
|
if ($this->log)
|
||||||
|
Loading…
Reference in New Issue
Block a user