summaryrefslogtreecommitdiffstats
path: root/lib/class/artist.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-09 22:31:24 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-09 22:31:24 +0000
commit80e16c888b961c95bcb5968b1534f3c61f53381c (patch)
tree5f0573bc074a99d26b3c9e93912572d3abebcc50 /lib/class/artist.class.php
parente4ad47579a65dadf9da009b525bf28c42bc7623a (diff)
downloadampache-80e16c888b961c95bcb5968b1534f3c61f53381c.tar.gz
ampache-80e16c888b961c95bcb5968b1534f3c61f53381c.tar.bz2
ampache-80e16c888b961c95bcb5968b1534f3c61f53381c.zip
add tags to the artist and album xml documents
Diffstat (limited to 'lib/class/artist.class.php')
-rw-r--r--lib/class/artist.class.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/class/artist.class.php b/lib/class/artist.class.php
index 75a415ca..a5261b10 100644
--- a/lib/class/artist.class.php
+++ b/lib/class/artist.class.php
@@ -239,8 +239,9 @@ class Artist extends database_object {
$this->f_time = ltrim($hours . ':' . $min . ':' . $sec,'0:');
- $tags = Tag::get_top_tags('artist',$this->id);
- $this->f_tags = Tag::get_display($tags,$this->id,'artist');
+ $this->tags = Tag::get_top_tags('artist',$this->id);
+
+ $this->f_tags = Tag::get_display($this->tags,$this->id,'artist');
return true;