summaryrefslogtreecommitdiffstats
path: root/song.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-04-02 08:14:21 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-04-02 08:14:21 +0000
commit05e6d947be96664074d95f9d6f4635415186ecac (patch)
tree6df88ea49db571474efa88af09fe21e088b59f5a /song.php
parent864a32a3287df06f4b1e4fb5a422b699562ab4e9 (diff)
downloadampache-05e6d947be96664074d95f9d6f4635415186ecac.tar.gz
ampache-05e6d947be96664074d95f9d6f4635415186ecac.tar.bz2
ampache-05e6d947be96664074d95f9d6f4635415186ecac.zip
fixed a problem I introduced by unfudging the song.php file
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;