diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-05-14 20:27:18 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-05-14 20:27:18 +0000 |
commit | f5723a113e81a93b82f49a377a5085db99b94461 (patch) | |
tree | ae580fa5e3564774490f7a575f88383db7071508 /lib/class/artist.class.php | |
parent | ac8056bad9b8e55ba2296c28a96968d33dfbd003 (diff) | |
download | ampache-f5723a113e81a93b82f49a377a5085db99b94461.tar.gz ampache-f5723a113e81a93b82f49a377a5085db99b94461.tar.bz2 ampache-f5723a113e81a93b82f49a377a5085db99b94461.zip |
fixed the stats display for artists and albums
Diffstat (limited to 'lib/class/artist.class.php')
-rw-r--r-- | lib/class/artist.class.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/class/artist.class.php b/lib/class/artist.class.php index 0de280c0..ee2aad62 100644 --- a/lib/class/artist.class.php +++ b/lib/class/artist.class.php @@ -181,7 +181,7 @@ class Artist { * so they can be displayed in a table for example * it changes the title into a full link. */ - function format() { + public function format() { /* Combine prefix and name, trim then add ... if needed */ $name = truncate_with_ellipse(trim($this->prefix . " " . $this->name)); @@ -191,7 +191,8 @@ class Artist { $this->full_name = scrub_out(trim($this->prefix . " " . $this->name)); //FIXME: This should be f_link - $this->f_link = "<a href=\"" . Config::get('web_path') . "/artists.php?action=show&artist=" . $this->id . "\" title=\"" . $this->full_name . "\">" . $name . "</a>"; + + $this->f_name_link = "<a href=\"" . Config::get('web_path') . "/artists.php?action=show&artist=" . $this->id . "\" title=\"" . $this->full_name . "\">" . $name . "</a>"; // Get the counts $this->get_count(); |