* Calendar/CalDAV: fixed not working update/delete of recurring event containing exceptions (always gave 412 Precondition Failed)

because recur_exceptions were not read on search
This commit is contained in:
Ralf Becker 2012-10-07 17:10:36 +00:00
parent 46acebf2a7
commit d5af9a5e2c

View File

@ -735,10 +735,7 @@ class calendar_so
'recur_exception' => true,
), __LINE__, __FILE__, false, 'ORDER BY cal_id,cal_start', 'calendar') as $row)
{
foreach((array)$recur_ids[$row['cal_id']] as $i)
{
$events[$i]['recurce_id'][] = $row['cal_start'];
}
$events[$row['cal_id']]['recur_exception'][] = $row['cal_start'];
}
}
//custom fields are not shown in the regular views, so we only query them, if explicitly required