diff options
author | spocky <spocky@ampache> | 2008-01-17 09:37:36 +0000 |
---|---|---|
committer | spocky <spocky@ampache> | 2008-01-17 09:37:36 +0000 |
commit | 86263d7c1be8aa4f083f47e5f1bcee9ab01f64c8 (patch) | |
tree | 9ca94a60ba022d94b77e4ebf39c4bc995245a568 /lib/class | |
parent | 153fcb98d4a7545df9ef34690cbf46bb557064f0 (diff) | |
download | ampache-86263d7c1be8aa4f083f47e5f1bcee9ab01f64c8.tar.gz ampache-86263d7c1be8aa4f083f47e5f1bcee9ab01f64c8.tar.bz2 ampache-86263d7c1be8aa4f083f47e5f1bcee9ab01f64c8.zip |
Fixed artist display wrongly using ellipsis_threshold_album preference
Fixed wrong artist html encoding in random albums image title
Diffstat (limited to 'lib/class')
-rw-r--r-- | lib/class/album.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/album.class.php b/lib/class/album.class.php index ea39c9aa..a4c9601b 100644 --- a/lib/class/album.class.php +++ b/lib/class/album.class.php @@ -221,7 +221,7 @@ class Album { $this->f_link = $this->f_name_link; $this->f_title = $full_name; if ($this->artist_count == '1') { - $artist = scrub_out(truncate_with_ellipsis(trim($this->artist_prefix . ' ' . $this->artist_name),Config::get('ellipsis_threshold_album'))); + $artist = scrub_out(truncate_with_ellipsis(trim($this->artist_prefix . ' ' . $this->artist_name),Config::get('ellipsis_threshold_artist'))); $this->f_artist_link = "<a href=\"$web_path/artists.php?action=show&artist=" . $this->artist_id . "\">" . $artist . "</a>"; $this->f_artist = $artist; } |