diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-01-14 09:16:10 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-01-14 09:16:10 +0000 |
commit | 2d5f2e996f08953227f4f2303f3f0bee448e41a6 (patch) | |
tree | 5bd07fa40f242034050b42ca6acff2547aae149d | |
parent | 26ff4cf67bf1bbc3c6a00343e9e42621f191ea1d (diff) | |
download | ampache-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.php | 5 |
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; |