summaryrefslogtreecommitdiffstats
path: root/lib/class/album.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-07-22 18:32:09 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-07-22 18:32:09 +0000
commitff606dbefca94580b56a081c5d3089037a2d033d (patch)
treebdc9cb8ea8d3b5d8e9b1ebe313ce163990a75d0c /lib/class/album.class.php
parent472072028560aa178211ae248fc0dad4526533c7 (diff)
downloadampache-ff606dbefca94580b56a081c5d3089037a2d033d.tar.gz
ampache-ff606dbefca94580b56a081c5d3089037a2d033d.tar.bz2
ampache-ff606dbefca94580b56a081c5d3089037a2d033d.zip
removed some old/legacy functions fixed download and merged it into the /play
Diffstat (limited to 'lib/class/album.class.php')
-rw-r--r--lib/class/album.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/class/album.class.php b/lib/class/album.class.php
index f03a1990..fc54f390 100644
--- a/lib/class/album.class.php
+++ b/lib/class/album.class.php
@@ -184,11 +184,11 @@ 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_ellipse($this->name,Config::get('ellipse_threshold_album')));
+ $this->f_name = scrub_out(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;
if ($this->artist_count == '1') {
- $artist = scrub_out(truncate_with_ellipse(trim($this->artist_prefix . ' ' . $this->artist_name),Config::get('ellipse_threshold_album')));
+ $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>";
}
else {