diff options
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(); |