1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-04 02:09:23 +02:00

sync to trunk

This commit is contained in:
Karl 'vollmerk' Vollmer 2008-08-30 20:09:10 +00:00
parent 3267cf14b9
commit ada7cc3542
4 changed files with 21 additions and 16 deletions

View file

@ -233,7 +233,7 @@ switch ($_REQUEST['action']) {
switch ($_REQUEST['type']) {
case 'album':
case 'artist':
case 'genre':
case 'tag':
$object = new $_REQUEST['type']($_REQUEST['id']);
$songs = $object->get_songs();
foreach ($songs as $song_id) {
@ -249,7 +249,7 @@ switch ($_REQUEST['action']) {
break;
case 'album_random':
case 'artist_random':
case 'genre_random':
case 'tag_random':
$data = explode('_',$_REQUEST['type']);
$type = $data['0'];
$object = new $type($_REQUEST['id']);