summaryrefslogtreecommitdiffstats
path: root/radio.php
diff options
context:
space:
mode:
Diffstat (limited to 'radio.php')
-rw-r--r--radio.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/radio.php b/radio.php
index 7ef0af0a..6249c35d 100644
--- a/radio.php
+++ b/radio.php
@@ -28,7 +28,7 @@ show_header();
switch ($_REQUEST['action']) {
case 'show_create':
if (!Access::check('interface','25')) {
- access_denied();
+ UI::access_denied();
exit;
}
@@ -37,12 +37,12 @@ switch ($_REQUEST['action']) {
break;
case 'create':
if (!Access::check('interface','25') || Config::get('demo_mode')) {
- access_denied();
+ UI::access_denied();
exit;
}
if (!Core::form_verify('add_radio','post')) {
- access_denied();
+ UI::access_denied();
exit;
}