summaryrefslogtreecommitdiffstats
path: root/albums.php
diff options
context:
space:
mode:
Diffstat (limited to 'albums.php')
-rw-r--r--albums.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/albums.php b/albums.php
index 17cf0ff3..35dd04c0 100644
--- a/albums.php
+++ b/albums.php
@@ -32,7 +32,7 @@ if(isset($_REQUEST['artist'])) $artist = scrub_in($_REQUEST['artist']);
$_REQUEST['artist_id'] = scrub_in($_REQUEST['artist_id']);
if ($_REQUEST['action'] === 'clear_art') {
- if (!$user->has_access('25')) { access_denied(); }
+ if (!$GLOBALS['user']->has_access('75')) { access_denied(); }
$album = new Album($_REQUEST['album_id']);
$album->clear_art();
show_confirmation(_('Album Art Cleared'),_('Album Art information has been removed from the database'),"/albums.php?action=show&album=" . $album->id);