summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2013-08-22 18:58:36 -0400
committerPaul Arthur <paul.arthur@flowerysong.com>2013-08-22 18:58:36 -0400
commita201a05d067b7beb191b5e2ce660dabd3c137560 (patch)
treea7948b64b9a40deb8909578d2cb58724cf3a4345
parente9ae64173cad4ebf753a66235757a3beef039baf (diff)
downloadampache-a201a05d067b7beb191b5e2ce660dabd3c137560.tar.gz
ampache-a201a05d067b7beb191b5e2ce660dabd3c137560.tar.bz2
ampache-a201a05d067b7beb191b5e2ce660dabd3c137560.zip
Guests should not be able to add radio stations
WTF is this whole "radio station" thing, anyway? Is it at all useful?
-rw-r--r--radio.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/radio.php b/radio.php
index e158b1be..803d8b69 100644
--- a/radio.php
+++ b/radio.php
@@ -27,7 +27,7 @@ UI::show_header();
// Switch on Action
switch ($_REQUEST['action']) {
case 'show_create':
- if (!Access::check('interface','25')) {
+ if (!Access::check('interface', 75)) {
UI::access_denied();
exit;
}
@@ -36,7 +36,7 @@ switch ($_REQUEST['action']) {
break;
case 'create':
- if (!Access::check('interface','25') || Config::get('demo_mode')) {
+ if (!Access::check('interface', 75) || Config::get('demo_mode')) {
UI::access_denied();
exit;
}