diff options
Diffstat (limited to 'lib/class/xmldata.class.php')
-rw-r--r-- | lib/class/xmldata.class.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/class/xmldata.class.php b/lib/class/xmldata.class.php index c9a11112..5fa58e71 100644 --- a/lib/class/xmldata.class.php +++ b/lib/class/xmldata.class.php @@ -179,7 +179,6 @@ class xmlData { $tags = array_splice($tags,self::$offset,self::$limit); } - $string = ''; foreach ($tags as $tag_id) { @@ -190,12 +189,11 @@ class xmlData { "\t<albums>" . intval($counts['album']) . "</albums>\n" . "\t<artists>" . intval($counts['artist']) . "</artists>\n" . "\t<songs>" . intval($counts['songs']) . "</songs>\n" . - "\t<videos>" . intval($counts['video']) . "</video>\n" . + "\t<videos>" . intval($counts['video']) . "</videos>\n" . "\t<playlists>" . intval($count['playlist']) . "</playlists>\n" . "\t<stream>" . intval($count['live_stream']) . "</stream>\n" . "</tag>\n"; } // end foreach - $final = self::_header() . $string . self::_footer(); |