From 84420db434e5b3afe08d4626c38d7cfacc62fb68 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Mon, 21 Apr 2008 01:20:07 +0000 Subject: fixed rating display and rating advanced search, also allow new genre when adding radio station --- radio.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'radio.php') diff --git a/radio.php b/radio.php index 720a81b8..b5eae474 100644 --- a/radio.php +++ b/radio.php @@ -1,7 +1,7 @@ has_access('25')) { + if (!Access::check('interface','25')) { access_denied(); exit; } @@ -35,7 +35,7 @@ switch ($_REQUEST['action']) { break; case 'create': - if (!$GLOBALS['user']->has_access('25') || Config::get('demo_mode')) { + if (!Access::check('interface','25') || Config::get('demo_mode')) { access_denied(); exit; } -- cgit