mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-08 00:47:04 +03:00
Bugfix: Sabre $this->value already an area
This commit is contained in:
parent
656c5f2a3e
commit
05f02c2197
1 changed files with 1 additions and 1 deletions
|
|
@ -335,7 +335,7 @@ class Parameter extends Node
|
||||||
*/
|
*/
|
||||||
public function xmlSerialize(Xml\Writer $writer)
|
public function xmlSerialize(Xml\Writer $writer)
|
||||||
{
|
{
|
||||||
foreach (explode(',', $this->value) as $value) {
|
foreach (is_array($this->value) ? $this->value : explode(',', $this->value) as $value) {
|
||||||
$writer->writeElement('text', $value);
|
$writer->writeElement('text', $value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue