diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-05-19 22:47:49 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-05-19 22:47:49 +0000 |
commit | 02f8bb52fd9e6ad340e69bbd917f574f7822cbc6 (patch) | |
tree | 88df9ad4a5c2a68f8077b2733fa716ca98437dba /lib/class/xmldata.class.php | |
parent | 0a506696acf130d98840d1eaece532040f762308 (diff) | |
download | ampache-02f8bb52fd9e6ad340e69bbd917f574f7822cbc6.tar.gz ampache-02f8bb52fd9e6ad340e69bbd917f574f7822cbc6.tar.bz2 ampache-02f8bb52fd9e6ad340e69bbd917f574f7822cbc6.zip |
fix url to song, and throw some non-working tag cloud crap in
Diffstat (limited to 'lib/class/xmldata.class.php')
-rw-r--r-- | lib/class/xmldata.class.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/class/xmldata.class.php b/lib/class/xmldata.class.php index 5fa58e71..b1b97264 100644 --- a/lib/class/xmldata.class.php +++ b/lib/class/xmldata.class.php @@ -339,6 +339,9 @@ class xmlData { // Foreach the ids! foreach ($songs as $song_id) { $song = new Song($song_id); + + // If the song id is invalid/null + if (!$song->id) { continue; } $song->format(); $tag_string = ''; |