diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-12-23 22:36:23 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-12-23 22:36:23 +0000 |
commit | d3423e0e37a6608edb82a7f6b6aa69d55aafec7d (patch) | |
tree | 0821f326d8cccdca64d4e24ce1f7640eee91db5c /albums.php | |
parent | cbdb592407c339d8158fb96e0253c1b34e011dc5 (diff) | |
download | ampache-d3423e0e37a6608edb82a7f6b6aa69d55aafec7d.tar.gz ampache-d3423e0e37a6608edb82a7f6b6aa69d55aafec7d.tar.bz2 ampache-d3423e0e37a6608edb82a7f6b6aa69d55aafec7d.zip |
fixed an album art issue created with the new auth code
Diffstat (limited to 'albums.php')
-rw-r--r-- | albums.php | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -60,7 +60,7 @@ switch ($_REQUEST['action']) { case 'find_art': // If not a user then kick em out - if (!$GLOBALS['user']->has_access('25')) { access_denied(); exit; } + if (!Access::check('interface','25')) { access_denied(); exit; } // get the Album information $album = new Album($_REQUEST['album_id']); @@ -170,13 +170,6 @@ switch ($_REQUEST['action']) { show_box_bottom(); break; // Browse by Album -} // end switch on action - - -/** - * switch on view - */ -switch ($_REQUEST['action']) { default: case 'show': $album = new Album($_REQUEST['album']); |