mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 18:03:39 +01:00
BIG mistake in checking of repeating events.
This commit is contained in:
parent
19286f3c6b
commit
b6eb7c3168
@ -559,7 +559,7 @@
|
|||||||
$datetime_check = $this->validate_update($event);
|
$datetime_check = $this->validate_update($event);
|
||||||
if($datetime_check)
|
if($datetime_check)
|
||||||
{
|
{
|
||||||
$ExecMethod('calendar.uicalendar.edit',
|
ExecMethod('calendar.uicalendar.edit',
|
||||||
Array(
|
Array(
|
||||||
'cd' => $datetime_check,
|
'cd' => $datetime_check,
|
||||||
'readsess' => 1
|
'readsess' => 1
|
||||||
@ -1059,7 +1059,7 @@
|
|||||||
for ($i=0;$i<$r_events;$i++)
|
for ($i=0;$i<$r_events;$i++)
|
||||||
{
|
{
|
||||||
$rep_events = $this->repeating_events[$i];
|
$rep_events = $this->repeating_events[$i];
|
||||||
$id = $rep_events->id;
|
$id = $rep_events['id'];
|
||||||
$event_beg_day = mktime(0,0,0,$rep_events['start']['month'],$rep_events['start']['mday'],$rep_events['start']['year']);
|
$event_beg_day = mktime(0,0,0,$rep_events['start']['month'],$rep_events['start']['mday'],$rep_events['start']['year']);
|
||||||
if($rep_events['recur_enddate']['month'] != 0 && $rep_events['recur_enddate']['mday'] != 0 && $rep_events['recur_enddate']['year'] != 0)
|
if($rep_events['recur_enddate']['month'] != 0 && $rep_events['recur_enddate']['mday'] != 0 && $rep_events['recur_enddate']['year'] != 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user