summaryrefslogtreecommitdiff
path: root/plugins/libkolab/lib/kolab_format_xcal.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/libkolab/lib/kolab_format_xcal.php')
-rw-r--r--plugins/libkolab/lib/kolab_format_xcal.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/libkolab/lib/kolab_format_xcal.php b/plugins/libkolab/lib/kolab_format_xcal.php
index 284a068..500dfa2 100644
--- a/plugins/libkolab/lib/kolab_format_xcal.php
+++ b/plugins/libkolab/lib/kolab_format_xcal.php
@@ -373,7 +373,7 @@ abstract class kolab_format_xcal extends kolab_format
if ($object['alarms']) {
list($offset, $type) = explode(":", $object['alarms']);
- if ($type == 'EMAIL') { // email alarms implicitly go to event owner
+ if ($type == 'EMAIL' && !empty($object['_owner'])) { // email alarms implicitly go to event owner
$recipients = new vectorcontactref;
$recipients->push(new ContactReference(ContactReference::EmailReference, $object['_owner']));
$alarm = new Alarm($object['title'], strval($object['description']), $recipients);