diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-01-04 09:01:36 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-01-04 09:01:36 +0000 |
commit | ffac7359918b54193dab135d2ab7310271f5902b (patch) | |
tree | 5c8343c419b90ca2c06c2773691ecc8863f9983a /playlist.php | |
parent | 4e9823cd1064cc876b449752b933c89c367d84c6 (diff) | |
download | ampache-ffac7359918b54193dab135d2ab7310271f5902b.tar.gz ampache-ffac7359918b54193dab135d2ab7310271f5902b.tar.bz2 ampache-ffac7359918b54193dab135d2ab7310271f5902b.zip |
fixed a few more playlist functions... cleaned up some code...
Diffstat (limited to 'playlist.php')
-rw-r--r-- | playlist.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/playlist.php b/playlist.php index 975e2ec8..02b64665 100644 --- a/playlist.php +++ b/playlist.php @@ -54,7 +54,7 @@ switch ($action) { /* Show Confirmation Question */ $message = _('Are you sure you want to delete this playlist') . " " . $playlist->name . "?"; - show_confirm_action(_('Confirm Delete Request'),$message,'playlist.php','action=delete_playlist&playlist_id=' . $playlist->id); + show_confirm_action($message,'playlist.php','action=delete_playlist&playlist_id=' . $playlist->id); break; case 'add_to': case 'add to': @@ -74,12 +74,11 @@ switch ($action) { if ($GLOBALS['user']->username != $playlist->user && !$GLOBALS['user']->has_access(100)) { access_denied(); } - if ($_REQUEST['type'] == 'album') { $song_ids = get_songs_from_type($_REQUEST['type'],$_REQUEST['song_ids'],$_REQUEST['artist_id']); } else { - $song_ids = $_REQUEST['song_ids']; + $song_ids = $_REQUEST['song']; } /* Add the songs */ |