summaryrefslogtreecommitdiffstats
path: root/albums.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-06-19 01:23:35 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-06-19 01:23:35 +0000
commit49f48af532c2d3196d94b444c3514bdb1a499436 (patch)
tree253259963084d489364332a98762f2ae8116d5b7 /albums.php
parent7206d2c97bce26f10daf9a4bdc662c261d461799 (diff)
downloadampache-49f48af532c2d3196d94b444c3514bdb1a499436.tar.gz
ampache-49f48af532c2d3196d94b444c3514bdb1a499436.tar.bz2
ampache-49f48af532c2d3196d94b444c3514bdb1a499436.zip
fixed add to playlists from albums, and multi-artist album display flaw
Diffstat (limited to 'albums.php')
-rw-r--r--albums.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/albums.php b/albums.php
index 15ccc7e9..3d1b85f2 100644
--- a/albums.php
+++ b/albums.php
@@ -48,9 +48,11 @@ elseif (isset($album)) {
$album = new Album($album);
$album->format_album();
+ $artist_obj = new Artist($artist_obj);
+
require (conf('prefix') . "/templates/show_album.inc");
- if (isset($artist) && $artist != 0) {
+ if (isset($artist) && $artist_obj->name == "Unknown (Orphaned)" ) {
$song_ids = get_song_ids_from_artist_and_album($artist, $album->id);
}
else {