diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-01-22 08:39:24 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-01-22 08:39:24 +0000 |
commit | 56ce11f771d173f559f2608c83422a94fcc37165 (patch) | |
tree | d537804a9c707cf7fb1743fb8d112bb87040f718 /song.php | |
parent | 595b211d5e59e320586d09e16878b24bdb8b3375 (diff) | |
download | ampache-56ce11f771d173f559f2608c83422a94fcc37165.tar.gz ampache-56ce11f771d173f559f2608c83422a94fcc37165.tar.bz2 ampache-56ce11f771d173f559f2608c83422a94fcc37165.zip |
added config version check, fixed play selected bug reported by chenb and fixed wmp11 now playing issue
Diffstat (limited to 'song.php')
-rw-r--r-- | song.php | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -37,6 +37,8 @@ $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']); |