Fix duplication by changed event title

This commit is contained in:
Jörg Lehrke 2010-03-16 09:55:07 +00:00
parent 4266676db2
commit c2fc58f757

View File

@ -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
}