Commit b0f12748 authored by Daniel Morlock's avatar Daniel Morlock
Browse files

Fix creating itip import via mail when falling back to the default calendar.

parent 01988618
......@@ -2922,8 +2922,9 @@ class calendar extends rcube_plugin
if (!$calendar && !$dontsave)
$calendar = $this->get_default_calendar(true, $event['sensitivity'] == 'confidential');
if(!$driver)
$driver = $this->get_driver_by_cal($calendar);
if(!$driver) {
$driver = $this->get_driver_by_cal($calendar["id"]);
}
$metadata = array(
'uid' => $event['uid'],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment