summaryrefslogtreecommitdiffstats
path: root/song.php
diff options
context:
space:
mode:
Diffstat (limited to 'song.php')
-rw-r--r--song.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/song.php b/song.php
index 9c2dbe79..2a88a523 100644
--- a/song.php
+++ b/song.php
@@ -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();