diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-01-05 15:43:44 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-01-05 15:43:44 +0000 |
commit | e25a9d5480b6f12584a1297eb907906436f52da6 (patch) | |
tree | b888fe36c538d527e77eb9769af0d257ef337fe3 /song.php | |
parent | 181c3a17f8c5a9ac194f6c522d79a4b8bc8317b2 (diff) | |
download | ampache-e25a9d5480b6f12584a1297eb907906436f52da6.tar.gz ampache-e25a9d5480b6f12584a1297eb907906436f52da6.tar.bz2 ampache-e25a9d5480b6f12584a1297eb907906436f52da6.zip |
I swear the last db upgrade of this release... at least it better be or I will have to beat myself up
Diffstat (limited to 'song.php')
-rw-r--r-- | song.php | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -50,6 +50,10 @@ switch ($action) { if ($type == 'album') { $song_ids = get_songs_from_type($type, $_POST['song'], $_REQUEST['artist_id']); } + elseif ($_REQUEST['playlist_id']) { + $playlist = new Playlist($_REQUEST['playlist_id']); + $song_ids = $playlist->get_songs(); + } else { $song_ids = $_POST['song']; } |