summaryrefslogtreecommitdiffstats
path: root/song.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-01-04 08:11:01 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-01-04 08:11:01 +0000
commit4e9823cd1064cc876b449752b933c89c367d84c6 (patch)
treec21f0f5c9d77176caefe5701c20afbd9d610409f /song.php
parentc917726df7e3d327e3bc3030bb0b7f63925d0b42 (diff)
downloadampache-4e9823cd1064cc876b449752b933c89c367d84c6.tar.gz
ampache-4e9823cd1064cc876b449752b933c89c367d84c6.tar.bz2
ampache-4e9823cd1064cc876b449752b933c89c367d84c6.zip
fixed mysql5 crap, thx WarrenG cleaned up some of the show_songs code and stuff that calls it, did a little work on playlists
Diffstat (limited to 'song.php')
-rw-r--r--song.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/song.php b/song.php
index 43758d44..248cf490 100644
--- a/song.php
+++ b/song.php
@@ -92,7 +92,8 @@ elseif ( $_REQUEST['playlist_id'] AND $action != 'play_selected') {
}
}
elseif ( $_REQUEST['artist'] ) {
- $song_ids = get_song_ids_from_artist( $_REQUEST['artist'] );
+ $artist = new Artist($_REQUEST['artist']);
+ $song_ids = $artist->get_song_ids();
}
/*!
@action Random Song