mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-09-30 08:54:19 +08: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)
|
||||
{
|
||||
foreach (explode(',', $this->value) as $value) {
|
||||
foreach (is_array($this->value) ? $this->value : explode(',', $this->value) as $value) {
|
||||
$writer->writeElement('text', $value);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue