summaryrefslogtreecommitdiffstats
path: root/song.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-07-18 03:21:04 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-07-18 03:21:04 +0000
commit597643c785d0e341c5ada5d9e76d357d9b34bc4d (patch)
treec5dc6d5f7c840f94fb896969306919d7b0f31024 /song.php
parentf999eeb21c73e3f6c653994b20fc8fec89f69644 (diff)
downloadampache-597643c785d0e341c5ada5d9e76d357d9b34bc4d.tar.gz
ampache-597643c785d0e341c5ada5d9e76d357d9b34bc4d.tar.bz2
ampache-597643c785d0e341c5ada5d9e76d357d9b34bc4d.zip
tweaked random play, now uses a drop down for the type
Diffstat (limited to 'song.php')
-rw-r--r--song.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/song.php b/song.php
index 96a3e096..3f36313a 100644
--- a/song.php
+++ b/song.php
@@ -90,7 +90,7 @@ elseif ( $_REQUEST['random'] ) {
}
/* Setup the options array */
- $options = array('limit' => $_REQUEST['random'], 'unplayed' => $_REQUEST['unplayed'], 'full_album' => $_REQUEST['full_album'], 'full_artist' => $_REQUEST['full_artist']);
+ $options = array('limit' => $_REQUEST['random'], 'random_type' => $_REQUEST['random_type']);
$song_ids = get_random_songs($options, $matchlist);