diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-02-15 15:19:46 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-02-15 15:19:46 +0000 |
commit | 68917e09f5f47928ca31773a5ee17ad93bc9ab3c (patch) | |
tree | 3492ccbfa54ab5351b86e053dc2f06be473e75c7 /lib/class/artist.class.php | |
parent | 730d21e8d85efea95614e8bd93703dd6d12bfd0f (diff) | |
download | ampache-68917e09f5f47928ca31773a5ee17ad93bc9ab3c.tar.gz ampache-68917e09f5f47928ca31773a5ee17ad93bc9ab3c.tar.bz2 ampache-68917e09f5f47928ca31773a5ee17ad93bc9ab3c.zip |
fixed previously broken artist link for browsing
Diffstat (limited to 'lib/class/artist.class.php')
-rw-r--r-- | lib/class/artist.class.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/class/artist.class.php b/lib/class/artist.class.php index c89eb271..6348339e 100644 --- a/lib/class/artist.class.php +++ b/lib/class/artist.class.php @@ -186,15 +186,14 @@ class Artist { function format() { /* Combine prefix and name, trim then add ... if needed */ - $name = scrub_out(truncate_with_ellipse(trim($this->prefix . " " . $this->name))); - $this->f_name = $this->name; + $name = truncate_with_ellipse(trim($this->prefix . " " . $this->name)); + $this->f_name = $name; //FIXME: This shouldn't be scrubing right here!!!! $this->full_name = scrub_out(trim($this->prefix . " " . $this->name)); //FIXME: This should be f_link $this->link = "<a href=\"" . conf('web_path') . "/artists.php?action=show&artist=" . $this->id . "\" title=\"" . $this->full_name . "\">" . $name . "</a>"; - $this->name = $this->link; // Get the counts $this->get_count(); |