diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-11-21 08:35:31 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-11-21 08:35:31 +0000 |
commit | 8f883bfa4554dd8894eb5236f6f06f7b49ea3225 (patch) | |
tree | 5b0470b57ccc6bd8947c7419d067a613ac9c11e1 /lib | |
parent | 068b2cbbb33afcab2e6ee41501fa90a85f52f367 (diff) | |
download | ampache-8f883bfa4554dd8894eb5236f6f06f7b49ea3225.tar.gz ampache-8f883bfa4554dd8894eb5236f6f06f7b49ea3225.tar.bz2 ampache-8f883bfa4554dd8894eb5236f6f06f7b49ea3225.zip |
two fixes for invalid artist ids in album xml and parse error on image.php
Diffstat (limited to 'lib')
-rw-r--r-- | lib/class/xmldata.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/class/xmldata.class.php b/lib/class/xmldata.class.php index 129c2240..ddce5228 100644 --- a/lib/class/xmldata.class.php +++ b/lib/class/xmldata.class.php @@ -116,13 +116,13 @@ class xmlData { $string .= "\t<artist id=\"0\"><![CDATA[Various]]></artist>\n"; } else { - $string .= "\t<artist id=\"$album->artist_id\"><![CDATA[$album->artist_name]]></artist>\n"; + $string .= "\t<artist id=\"$album->artist\"><![CDATA[$album->artist_name]]></artist>\n"; } $string .= "\t<year>$album->year</year>\n" . "\t<tracks>$album->song_count</tracks>\n" . "\t<disk>$album->disk</disk>\n" . - "\t<art>$art_url</art>\n" . + "\t<art><![CDATA[$art_url]]></art>\n" . "</album>\n"; } // end foreach |