diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-04-21 01:20:07 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-04-21 01:20:07 +0000 |
commit | 84420db434e5b3afe08d4626c38d7cfacc62fb68 (patch) | |
tree | 7b898af106878b65be5b86856714258c23008dd2 /radio.php | |
parent | 41db2472342bd0cdcd572f9f37bca698db6f6d2f (diff) | |
download | ampache-84420db434e5b3afe08d4626c38d7cfacc62fb68.tar.gz ampache-84420db434e5b3afe08d4626c38d7cfacc62fb68.tar.bz2 ampache-84420db434e5b3afe08d4626c38d7cfacc62fb68.zip |
fixed rating display and rating advanced search, also allow new genre when adding radio station
Diffstat (limited to 'radio.php')
-rw-r--r-- | radio.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ <?php /* - Copyright (c) 2001 - 2007 Ampache.org + Copyright (c) Ampache.org All rights reserved. This program is free software; you can redistribute it and/or @@ -26,7 +26,7 @@ show_header(); // Switch on Action switch ($_REQUEST['action']) { case 'show_create': - if (!$GLOBALS['user']->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; } |