Fix TagList serializer
This commit is contained in:
parent
2f3e62a27f
commit
2ef62b0115
|
@ -114,9 +114,7 @@ class TagList implements Element {
|
||||||
function xmlSerialize(Writer $writer) {
|
function xmlSerialize(Writer $writer) {
|
||||||
|
|
||||||
foreach ($this->tags as $tag) {
|
foreach ($this->tags as $tag) {
|
||||||
$writer->startElement(self::NS_OWNCLOUD . ':tag');
|
$writer->writeElement('{' . self::NS_OWNCLOUD . '}tag', $tag);
|
||||||
$writer->writeElement($tag);
|
|
||||||
$writer->endElement();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue