summaryrefslogtreecommitdiffstats
path: root/playlist.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-02-28 19:27:37 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-02-28 19:27:37 +0000
commitf9e3b1360f40ada7645d6fdd0be6ee6c721269a0 (patch)
tree3c9e1d5bc87fb84a87a06acc428d889c6a52da2b /playlist.php
parent2b49c1dfc894b77272128de9ea80f8f055d4bd47 (diff)
downloadampache-f9e3b1360f40ada7645d6fdd0be6ee6c721269a0.tar.gz
ampache-f9e3b1360f40ada7645d6fdd0be6ee6c721269a0.tar.bz2
ampache-f9e3b1360f40ada7645d6fdd0be6ee6c721269a0.zip
fixed playlist permission issue for users
Diffstat (limited to 'playlist.php')
-rw-r--r--playlist.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/playlist.php b/playlist.php
index f4aa6119..840d671c 100644
--- a/playlist.php
+++ b/playlist.php
@@ -70,10 +70,6 @@ switch ($action) {
break;
}
- /* Must be admin or person who created this playlist */
- 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'],$_REQUEST['artist_id']);
}