summaryrefslogtreecommitdiffstats
path: root/templates/show_preference_box.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_preference_box.inc.php')
-rw-r--r--templates/show_preference_box.inc.php2
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;
}
?>