diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-01-04 08:11:01 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-01-04 08:11:01 +0000 |
commit | 4e9823cd1064cc876b449752b933c89c367d84c6 (patch) | |
tree | c21f0f5c9d77176caefe5701c20afbd9d610409f /artists.php | |
parent | c917726df7e3d327e3bc3030bb0b7f63925d0b42 (diff) | |
download | ampache-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 'artists.php')
-rw-r--r-- | artists.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/artists.php b/artists.php index a46396ee..cbaa6e0a 100644 --- a/artists.php +++ b/artists.php @@ -39,14 +39,15 @@ switch($action) { case 'show': case 'Show': show_alphabet_list('artists','artists.php'); - $artist = new Artist(scrub_in($_REQUEST['artist'])); + $artist = new Artist($_REQUEST['artist']); $artist->show_albums(); break; case 'show_all_songs': - $artist = get_artist_name(scrub_in($_REQUEST['artist'])); - echo "<h2>" . _("All songs by") . " $artist</h2>"; - $song_ids = get_song_ids_from_artist($_REQUEST['artist']); + $artist = new Artist($_REQUEST['artist']); + $artist->format_artist(); + $song_ids = $artist->get_song_ids(); + require(conf('prefix') . '/templates/show_artist_box.inc.php'); show_songs($song_ids); break; |