Fix VTIMEZONE export in non-buffered mode (#4865)
This commit is contained in:
parent
6bd0bdabb5
commit
0eefd8414f
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue