1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-05 19:41:55 +02:00

Fix XML API tag info (fix #281)

This commit is contained in:
Afterster 2014-06-24 07:35:16 +02:00
parent fb86b8ef68
commit c315fc10a9

View file

@ -175,10 +175,10 @@ class XML_Data
if (is_array($tags)) {
foreach ($tags as $tag_id => $data) {
$tag = new Tag($tag_id);
$string .= "\t<tag id=\"" . $tag->id .
'" count="' . count($data['users']) .
'"><![CDATA[' . $tag->name . "]]></tag>\n";
$string .= "\t<tag id=\"" . $data['id'] . "\" " .
"user=\"" . $data['user'] . "\" " .
"ut_id=\"" . $tag_id . "\" " .
"><![CDATA[" . $data['name'] . "]]></tag>\n";
}
}