From e25a9d5480b6f12584a1297eb907906436f52da6 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Thu, 5 Jan 2006 15:43:44 +0000 Subject: I swear the last db upgrade of this release... at least it better be or I will have to beat myself up --- lib/class/playlist.class.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/class/playlist.class.php') diff --git a/lib/class/playlist.class.php b/lib/class/playlist.class.php index 201b63e1..f0ef69ff 100644 --- a/lib/class/playlist.class.php +++ b/lib/class/playlist.class.php @@ -119,7 +119,6 @@ class Playlist { $results = array(); while ($r = mysql_fetch_assoc($db_results)) { - if ($r['dyn_song']) { $array = $this->get_dyn_songs($r['dyn_song']); $results = array_merge($array,$results); @@ -172,7 +171,6 @@ class Playlist { * Query has to return id which must be a song.id */ $db_results = mysql_query($dyn_string, dbh()); - $results = array(); while ($r = mysql_fetch_assoc($db_results)) { -- cgit