Fix 'search for series master' issue

This commit is contained in:
Jörg Lehrke 2010-03-09 09:28:46 +00:00
parent bb580029c1
commit 191d0c7fd5

View File

@ -1505,6 +1505,8 @@ class calendar_boupdate extends calendar_bo
if ($filter == 'master') if ($filter == 'master')
{ {
// No chance to find a master without [U]ID
if (emtpy($event['uid']) && empty($event['id'])) return $matchingEvents;
$query[] = 'recur_type!='. MCAL_RECUR_NONE; $query[] = 'recur_type!='. MCAL_RECUR_NONE;
$query['cal_recurrence'] = 0; $query['cal_recurrence'] = 0;
} }