summaryrefslogtreecommitdiffstats
path: root/radio.php
diff options
context:
space:
mode:
Diffstat (limited to 'radio.php')
-rw-r--r--radio.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/radio.php b/radio.php
index 9e5fbb1e..720a81b8 100644
--- a/radio.php
+++ b/radio.php
@@ -35,7 +35,7 @@ switch ($_REQUEST['action']) {
break;
case 'create':
- if (!$GLOBALS['user']->has_access('25')) {
+ if (!$GLOBALS['user']->has_access('25') || Config::get('demo_mode')) {
access_denied();
exit;
}