summaryrefslogtreecommitdiffstats
path: root/lib/class/artist.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/class/artist.class.php')
-rw-r--r--lib/class/artist.class.php5
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&amp;artist=" . $this->id . "\" title=\"" . $this->full_name . "\">" . $name . "</a>";
- $this->name = $this->link;
// Get the counts
$this->get_count();