Improved calendar_boupdate::find_event() (#2582)

This commit is contained in:
Jörg Lehrke 2010-05-14 13:32:08 +00:00
parent 11093e933c
commit 7ad18fac74

View File

@ -1826,7 +1826,7 @@ class calendar_boupdate extends calendar_bo
foreach ($matchFields as $key) foreach ($matchFields as $key)
{ {
if (!empty($event[$key]) && (empty($egwEvent[$key]) if (!empty($event[$key]) && (empty($egwEvent[$key])
|| strpos($egwEvent[$key], $event[$key]) !== 0)) || strpos(str_replace("\r\n", "\n", $egwEvent[$key]), $event[$key]) !== 0))
{ {
if ($this->log) if ($this->log)
{ {