diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-12-10 08:51:33 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-12-10 08:51:33 +0000 |
commit | 86148a427814fda15c6964317e3cbf5399ad4696 (patch) | |
tree | b66873e0b7eb7c1881cf6dbfbf515d051f87c099 /templates/show_preference_box.inc.php | |
parent | 6cde9118b11c0ca82ef415ea30a54db1b30fc1ce (diff) | |
download | ampache-86148a427814fda15c6964317e3cbf5399ad4696.tar.gz ampache-86148a427814fda15c6964317e3cbf5399ad4696.tar.bz2 ampache-86148a427814fda15c6964317e3cbf5399ad4696.zip |
re-added the edit users prefs mojo
Diffstat (limited to 'templates/show_preference_box.inc.php')
-rw-r--r-- | templates/show_preference_box.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show_preference_box.inc.php b/templates/show_preference_box.inc.php index c70f48d0..8d4fcb15 100644 --- a/templates/show_preference_box.inc.php +++ b/templates/show_preference_box.inc.php @@ -22,7 +22,7 @@ /* I'm cheating a little here, check to see if we want to show the * Apply to All button on this page */ -if (($GLOBALS['user']->has_access(100) OR !Config::get('use_auth')) AND $_REQUEST['action'] == 'admin') { +if ((Access::check('interface','100') OR !Config::get('use_auth')) AND $_REQUEST['action'] == 'admin') { $is_admin = true; } ?> |