From 84d3643b2298096e8770ddc0b9b7515325bc8bfa Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 25 Mar 2010 20:23:22 +0000 Subject: [PATCH] Fix bug where a rejected event could still cause a schedule conflict --- calendar/inc/class.calendar_boupdate.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/inc/class.calendar_boupdate.inc.php b/calendar/inc/class.calendar_boupdate.inc.php index 42679ca1ea..3d68d9ec7d 100644 --- a/calendar/inc/class.calendar_boupdate.inc.php +++ b/calendar/inc/class.calendar_boupdate.inc.php @@ -265,7 +265,7 @@ class calendar_boupdate extends calendar_bo { if ($overlap['participants'][$uid][0] == 'R') { - unset($common_parts[$uid]); + unset($common_parts[$n]); continue; } if (is_numeric($uid) || !in_array($uid[0],$types_with_quantity)) @@ -2154,4 +2154,4 @@ class calendar_boupdate extends calendar_bo } } } -} \ No newline at end of file +}