diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-11-26 10:48:57 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-11-26 10:48:57 +0000 |
commit | d48d73b67dbc4e49cbc52e91ef0a03cc98afb114 (patch) | |
tree | 812bb81ecbb7ace8fa1fa277b32b8dd3d81d8941 /playlist.php | |
parent | 671a917abf53e013eeb68c51cd0fbaa30c6377dd (diff) | |
download | ampache-d48d73b67dbc4e49cbc52e91ef0a03cc98afb114.tar.gz ampache-d48d73b67dbc4e49cbc52e91ef0a03cc98afb114.tar.bz2 ampache-d48d73b67dbc4e49cbc52e91ef0a03cc98afb114.zip |
require users to have at least 25 to create playlists, or have access to them
Diffstat (limited to 'playlist.php')
-rw-r--r-- | playlist.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/playlist.php b/playlist.php index 54c94752..adf600ab 100644 --- a/playlist.php +++ b/playlist.php @@ -44,7 +44,7 @@ switch ($_REQUEST['action']) { break; case 'create_playlist': /* Check rights */ - if (!$GLOBALS['user']->has_access(25)) { + if (!Access::check('interface','25')) { access_denied(); break; } |