From 6312a087e34552817bfde627c5e43b1eef6ccd78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Lehrke?= Date: Wed, 7 Oct 2009 04:23:42 +0000 Subject: [PATCH] Fix participants() deleted attendee issue, again --- calendar/inc/class.calendar_so.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_so.inc.php b/calendar/inc/class.calendar_so.inc.php index 3e40d2f0c6..317af680c4 100644 --- a/calendar/inc/class.calendar_so.inc.php +++ b/calendar/inc/class.calendar_so.inc.php @@ -964,8 +964,9 @@ ORDER BY cal_user_type, cal_usre_id 'cal_user_id' => $ids, )); } - $where[] = '('.implode(' OR ',$to_or).')'; + $where[1] = '('.implode(' OR ',$to_or).')'; $this->db->delete($this->user_table,$where,__LINE__,__FILE__,'calendar'); + unset($where[1]); } }