summaryrefslogtreecommitdiffstats
path: root/lib/class/album.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-09 14:34:06 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-09 14:34:06 +0000
commitab9aec092c66f090eb77ac6a53e37a02a9aecbbf (patch)
treedef7403f8336574be54346bfb81c0c8127f60a62 /lib/class/album.class.php
parent699a85cb82f5b8cec9439a29c2f3312ae84b77e0 (diff)
downloadampache-ab9aec092c66f090eb77ac6a53e37a02a9aecbbf.tar.gz
ampache-ab9aec092c66f090eb77ac6a53e37a02a9aecbbf.tar.bz2
ampache-ab9aec092c66f090eb77ac6a53e37a02a9aecbbf.zip
tweaked get_newest to operate a little different, tweaked lastfm (currently broken)
Diffstat (limited to 'lib/class/album.class.php')
-rw-r--r--lib/class/album.class.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/class/album.class.php b/lib/class/album.class.php
index b47e6b03..25e720f8 100644
--- a/lib/class/album.class.php
+++ b/lib/class/album.class.php
@@ -208,9 +208,10 @@ class Album {
foreach ($data as $key=>$value) { $this->$key = $value; }
/* Truncate the string if it's to long */
- $this->f_name = scrub_out(truncate_with_ellipsis($this->name,Config::get('ellipsis_threshold_album')));
+ $this->f_name = truncate_with_ellipsis($this->name,Config::get('ellipsis_threshold_album'));
$this->f_name_link = "<a href=\"$web_path/albums.php?action=show&amp;album=" . scrub_out($this->id) . "\" title=\"" . scrub_out($this->name) . "\">" . $this->f_name . "</a>";
- $this->f_title = $name;
+ $this->f_link = $this->f_name_link;
+ $this->f_title = $name;
if ($this->artist_count == '1') {
$artist = scrub_out(truncate_with_ellipsis(trim($this->artist_prefix . ' ' . $this->artist_name),Config::get('ellipsis_threshold_album')));
$this->f_artist = "<a href=\"$web_path/artists.php?action=show&amp;artist=" . $this->artist_id . "\">" . $artist . "</a>";