diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-01-03 02:26:48 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-01-03 02:26:48 +0000 |
commit | 37ce4641c9c111250b5c3ebd6e1d1627037b0f73 (patch) | |
tree | f7819c2854aa0fcc4e1ec328beb9d7665efe2951 /albums.php | |
parent | 47b5a2f404ef54ea4365fdcf258301e7d572d198 (diff) | |
download | ampache-37ce4641c9c111250b5c3ebd6e1d1627037b0f73.tar.gz ampache-37ce4641c9c111250b5c3ebd6e1d1627037b0f73.tar.bz2 ampache-37ce4641c9c111250b5c3ebd6e1d1627037b0f73.zip |
fixed album art searching when there is more then one artist on the album
Diffstat (limited to 'albums.php')
-rw-r--r-- | albums.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -84,7 +84,7 @@ elseif ($_REQUEST['action'] === 'find_art') { if (isset($_REQUEST['artist_name'])) { $artist = scrub_in($_REQUEST['artist_name']); } - else { + elseif ($album->artist_count == '1') { $artist = $album->artist; } @@ -109,7 +109,7 @@ elseif ($_REQUEST['action'] === 'find_art') { } $albumname = $album->name; - $artistname = $album->artist; + $artistname = $artist; // Remember the last typed entry, if there was one if (isset($_REQUEST['album_name'])) { $albumname = scrub_in($_REQUEST['album_name']); } |