Fix VTIMEZONE export in non-buffered mode (#4865)

This commit is contained in:
Thomas Bruederli 2015-03-18 12:59:39 +01:00
parent 6bd0bdabb5
commit 0eefd8414f

View file

@ -908,11 +908,11 @@ class libvcalendar implements Iterator
continue; // no timezone information found continue; // no timezone information found
} }
if ($vcal) { if ($write) {
$vcal->add($vt); echo $vt->serialize();
} }
else { else {
echo $vt->serialize(); $vcal->add($vt);
} }
} }
} }