summaryrefslogtreecommitdiffstats
path: root/song.php
diff options
context:
space:
mode:
Diffstat (limited to 'song.php')
-rw-r--r--song.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/song.php b/song.php
index 344a4e8b..af6e9337 100644
--- a/song.php
+++ b/song.php
@@ -61,6 +61,9 @@ switch ($action) {
$song_ids = $_POST['song'];
}
break;
+ case 'single_song':
+ $song_ids[] = scrub_in($_REQUEST['song_id']);
+ break;
case 'your_popular_songs':
$song_ids = get_popular_songs($_REQUEST['limit'], 'your', $GLOBALS['user']->id);
break;