summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/class/browse.class.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/class/browse.class.php b/lib/class/browse.class.php
index 1ba01e65..df3cd68e 100644
--- a/lib/class/browse.class.php
+++ b/lib/class/browse.class.php
@@ -143,7 +143,7 @@ class Browse {
case 'artist':
case 'genre':
case 'song':
- case 'live-stream':
+ case 'live_stream':
$valid_array = array('alpha_match');
break;
case 'playlist':
@@ -152,6 +152,9 @@ class Browse {
array_push($valid_array,'playlist_type');
}
break;
+ default:
+ $valid_array = array();
+ break;
} // switch on the browsetype
return $valid_array;