summaryrefslogtreecommitdiffstats
path: root/playlist.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-01-04 09:01:36 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-01-04 09:01:36 +0000
commitffac7359918b54193dab135d2ab7310271f5902b (patch)
tree5c8343c419b90ca2c06c2773691ecc8863f9983a /playlist.php
parent4e9823cd1064cc876b449752b933c89c367d84c6 (diff)
downloadampache-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.php5
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&amp;playlist_id=' . $playlist->id);
+ show_confirm_action($message,'playlist.php','action=delete_playlist&amp;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 */