summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-01-14 09:16:10 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-01-14 09:16:10 +0000
commit2d5f2e996f08953227f4f2303f3f0bee448e41a6 (patch)
tree5bd07fa40f242034050b42ca6acff2547aae149d
parent26ff4cf67bf1bbc3c6a00343e9e42621f191ea1d (diff)
downloadampache-2d5f2e996f08953227f4f2303f3f0bee448e41a6.tar.gz
ampache-2d5f2e996f08953227f4f2303f3f0bee448e41a6.tar.bz2
ampache-2d5f2e996f08953227f4f2303f3f0bee448e41a6.zip
fixed missing default array and live_stream filter action
-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;