diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-02-28 19:27:37 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-02-28 19:27:37 +0000 |
commit | f9e3b1360f40ada7645d6fdd0be6ee6c721269a0 (patch) | |
tree | 3c9e1d5bc87fb84a87a06acc428d889c6a52da2b /playlist.php | |
parent | 2b49c1dfc894b77272128de9ea80f8f055d4bd47 (diff) | |
download | ampache-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.php | 4 |
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']); } |