summaryrefslogtreecommitdiffstats
path: root/albums.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-13 14:37:21 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-13 14:37:21 +0000
commitdbdc2a615805da9a4728e8fbadc9364d8972973e (patch)
treee13b023450cd944755372af433ab61cdc7d15b2a /albums.php
parent691d6bb0a374713d8f971bf6717b6205be5eb9cf (diff)
downloadampache-dbdc2a615805da9a4728e8fbadc9364d8972973e.tar.gz
ampache-dbdc2a615805da9a4728e8fbadc9364d8972973e.tar.bz2
ampache-dbdc2a615805da9a4728e8fbadc9364d8972973e.zip
updated changelog made reseting album art take above user perms
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&amp;album=" . $album->id);