summaryrefslogtreecommitdiffstats
path: root/play
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2013-04-23 14:35:09 -0400
committerPaul Arthur <paul.arthur@flowerysong.com>2013-04-23 14:43:37 -0400
commitdf92e52dd3d118249c2adec9dd57dd61a53995b4 (patch)
treea5c734b86871c67f3559022a13c3b2eb46b4979c /play
parent8033c8b7a712a1f363f7e59c844c42214e8424f6 (diff)
downloadampache-df92e52dd3d118249c2adec9dd57dd61a53995b4.tar.gz
ampache-df92e52dd3d118249c2adec9dd57dd61a53995b4.tar.bz2
ampache-df92e52dd3d118249c2adec9dd57dd61a53995b4.zip
Clean up Random::play_url()
Include the correct type parameter in the URL and rename the random type parameter to random_type. Remove unused parameters from the function call. Should fix issue #11
Diffstat (limited to 'play')
-rw-r--r--play/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/play/index.php b/play/index.php
index a55d1c0a..4500a7ad 100644
--- a/play/index.php
+++ b/play/index.php
@@ -169,7 +169,7 @@ if ($demo_id) {
*/
if ($random) {
if ($start < 1) {
- $oid = Random::get_single_song($_REQUEST['type']);
+ $oid = Random::get_single_song($_REQUEST['random_type']);
// Save this one in case we do a seek
$_SESSION['random']['last'] = $oid;
}