diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-01-24 08:59:59 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-01-24 08:59:59 +0000 |
commit | 0fbaabb4c3047b4b49ec35d04e5aa10c7c0a3213 (patch) | |
tree | 754e47971e6edcbaeb3108b7f986a1f612cac48f /song.php | |
parent | f881a29430dc6d1cbca1a74a22048dd605a27ad0 (diff) | |
download | ampache-0fbaabb4c3047b4b49ec35d04e5aa10c7c0a3213.tar.gz ampache-0fbaabb4c3047b4b49ec35d04e5aa10c7c0a3213.tar.bz2 ampache-0fbaabb4c3047b4b49ec35d04e5aa10c7c0a3213.zip |
stll some faulty french translations but its a little better
Diffstat (limited to 'song.php')
-rw-r--r-- | song.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -37,8 +37,6 @@ $method = scrub_in($_REQUEST['method']); switch ($action) { case 'play_selected': - // Make sure they actually passed soemthing - if (!count($_POST['song'])) { header("Location:" . return_referer()); exit; } $type = scrub_in($_REQUEST['type']); if ($type == 'album') { $song_ids = get_songs_from_type($type, $_POST['song'], $_REQUEST['artist_id']); @@ -50,6 +48,8 @@ switch ($action) { else { $song_ids = $_POST['song']; } + // Make sure they actually passed soemthing + if (!count($song_ids)) { header("Location:" . return_referer()); exit; } break; /* This is run if we need to gather info based on a tmp playlist */ case 'tmp_playlist': |