diff options
author | Thomas Bruederli <bruederli@kolabsys.com> | 2015-03-18 11:59:39 (GMT) |
---|---|---|
committer | Thomas Bruederli <bruederli@kolabsys.com> | 2015-03-18 11:59:39 (GMT) |
commit | 0eefd8414fa1c39e803e985ba85b8c7251f67cdb (patch) | |
tree | dec69b0d8f0e231e019747963259ec5e29618c32 /plugins/libcalendaring | |
parent | 6bd0bdabb540e43463342f94d62c63bd32bc68e9 (diff) | |
download | roundcubemail-plugins-kolab-0eefd8414fa1c39e803e985ba85b8c7251f67cdb.tar.gz |
Fix VTIMEZONE export in non-buffered mode (#4865)
Diffstat (limited to 'plugins/libcalendaring')
-rw-r--r-- | plugins/libcalendaring/libvcalendar.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/libcalendaring/libvcalendar.php b/plugins/libcalendaring/libvcalendar.php index b040bde..0dad1aa 100644 --- a/plugins/libcalendaring/libvcalendar.php +++ b/plugins/libcalendaring/libvcalendar.php @@ -908,11 +908,11 @@ class libvcalendar implements Iterator continue; // no timezone information found } - if ($vcal) { - $vcal->add($vt); + if ($write) { + echo $vt->serialize(); } else { - echo $vt->serialize(); + $vcal->add($vt); } } } |