From c2fc58f757e9881260212a392150e65f1f43999f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Lehrke?= Date: Tue, 16 Mar 2010 09:55:07 +0000 Subject: [PATCH] Fix duplication by changed event title --- 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 3a2afc3a47..9b53bbfe5f 100644 --- a/calendar/inc/class.calendar_boupdate.inc.php +++ b/calendar/inc/class.calendar_boupdate.inc.php @@ -1237,8 +1237,8 @@ class calendar_boupdate extends calendar_bo } } } elseif ($event['recur_type'] == $egwEvent['recur_type'] && - $filter != 'master' && - strpos($egwEvent['title'], $event['title']) === 0) + $filter != 'master' && ($filter == 'exact' || + strpos($egwEvent['title'], $event['title']) === 0)) { $matchingEvents[] = $egwEvent['id']; // we found the event }