From df92e52dd3d118249c2adec9dd57dd61a53995b4 Mon Sep 17 00:00:00 2001 From: Paul Arthur Date: Tue, 23 Apr 2013 14:35:09 -0400 Subject: 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 --- play/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'play/index.php') 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; } -- cgit