* 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:55 +00:00
parent 807c3e2ae5
commit 34fe3b123f

View File

@ -715,10 +715,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