summaryrefslogtreecommitdiffstats
path: root/song.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-06-17 14:43:57 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-06-17 14:43:57 +0000
commit7206d2c97bce26f10daf9a4bdc662c261d461799 (patch)
treed314d3c1c80339435a5f8c0139da42b0474d7b0a /song.php
parent11201fad55f11974c19b9bafc182c6b207ca75a8 (diff)
downloadampache-7206d2c97bce26f10daf9a4bdc662c261d461799.tar.gz
ampache-7206d2c97bce26f10daf9a4bdc662c261d461799.tar.bz2
ampache-7206d2c97bce26f10daf9a4bdc662c261d461799.zip
fixed play_selected from playlists
Diffstat (limited to 'song.php')
-rw-r--r--song.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/song.php b/song.php
index e75f5aaf..311da3ea 100644
--- a/song.php
+++ b/song.php
@@ -62,7 +62,7 @@ switch ($action) {
if ($_REQUEST['album']) {
$song_ids = get_song_ids_from_album( $_REQUEST['album'] );
}
-elseif ( $_REQUEST['playlist_id']) {
+elseif ( $_REQUEST['playlist_id'] AND $action != 'play_selected') {
$playlist = new Playlist($_REQUEST['playlist_id']);
if ($_REQUEST['action'] == "random") {
$song_ids = $playlist->get_random_songs();