Improved calendar_boupdate::find_event() (#2582)

This commit is contained in:
Jörg Lehrke 2010-05-14 13:32:25 +00:00
parent a2face5308
commit 345e955c59

View File

@ -1755,7 +1755,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)
{ {