summaryrefslogtreecommitdiff
path: root/plugins/libkolab/lib/kolab_format_event.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/libkolab/lib/kolab_format_event.php')
-rw-r--r--plugins/libkolab/lib/kolab_format_event.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/libkolab/lib/kolab_format_event.php b/plugins/libkolab/lib/kolab_format_event.php
index 33ed5af..90bfea3 100644
--- a/plugins/libkolab/lib/kolab_format_event.php
+++ b/plugins/libkolab/lib/kolab_format_event.php
@@ -143,14 +143,14 @@ class kolab_format_event extends kolab_format_xcal
$attach = $vattach->get($i);
// skip cid: attachments which are mime message parts handled by kolab_storage_folder
- if (substr($attach->uri(), 0, 4) != 'cid') {
+ if (substr($attach->uri(), 0, 4) != 'cid:') {
$name = $attach->label();
$data = $attach->data();
$object['_attachments'][$name] = array(
- 'name' => $name,
+ 'name' => $name,
'mimetype' => $attach->mimetype(),
- 'size' => strlen($data),
- 'content' => $data,
+ 'size' => strlen($data),
+ 'content' => $data,
);
}
}