calender_driver.php:732

Please change if ($source && $contact_id && ($abook = $rcmail->get_address_book($source))) { to if (strlen($source) && $contact_id && ($abook = $rcmail->get_address_book($source))) {. This is required as $source may contain string 0.