diff options
author | xgizzmo <xgizzmo@ampache> | 2005-12-26 20:45:20 +0000 |
---|---|---|
committer | xgizzmo <xgizzmo@ampache> | 2005-12-26 20:45:20 +0000 |
commit | 7ea54a5c7127d48d300128869105a1e6fb2928f9 (patch) | |
tree | f0306520cee6b6bef116c577f5fa0754db180dc4 /song.php | |
parent | a792f82334ab87cdcaf9cb8c9a87b9bc16812045 (diff) | |
download | ampache-7ea54a5c7127d48d300128869105a1e6fb2928f9.tar.gz ampache-7ea54a5c7127d48d300128869105a1e6fb2928f9.tar.bz2 ampache-7ea54a5c7127d48d300128869105a1e6fb2928f9.zip |
Removed some debug code to fix random play.
Diffstat (limited to 'song.php')
-rw-r--r-- | song.php | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -98,16 +98,11 @@ elseif ( $_REQUEST['random'] ) { if($_REQUEST['catalog'] != '-1') { $matchlist['catalog'] = $_REQUEST['catalog']; } - $_REQUEST['random'] = '100'; - $_REQUEST['random_type'] = 'normal'; - unset($matchlist['genre']); - unset($matchlist['catalog']); /* Setup the options array */ $options = array('limit' => $_REQUEST['random'], 'random_type' => $_REQUEST['random_type']); - - $song_ids = get_random_songs($options, $matchlist); } + elseif ( $_REQUEST['artist_random'] ) { $artist = new Artist($_REQUEST['artist_random']); $artist->get_count(); |