diff options
author | Paul 'flowerysong' Arthur <flowerysong00@yahoo.com> | 2010-06-07 06:46:48 +0000 |
---|---|---|
committer | Paul 'flowerysong' Arthur <flowerysong00@yahoo.com> | 2010-06-07 06:46:48 +0000 |
commit | 2f7068c18d5d1199bc3e07b93a4cfcf1182f5a6e (patch) | |
tree | eb7b0845107b4684ebe6e59aeb95c88016be45f8 /lib/class/artist.class.php | |
parent | 3de4f6f3e182c153f973510dbc4c824761af02ad (diff) | |
download | ampache-2f7068c18d5d1199bc3e07b93a4cfcf1182f5a6e.tar.gz ampache-2f7068c18d5d1199bc3e07b93a4cfcf1182f5a6e.tar.bz2 ampache-2f7068c18d5d1199bc3e07b93a4cfcf1182f5a6e.zip |
Aggressively make sure we don't end up with extra spaces when joining the prefix.
Diffstat (limited to 'lib/class/artist.class.php')
-rw-r--r-- | lib/class/artist.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/artist.class.php b/lib/class/artist.class.php index c30b20e4..2520346c 100644 --- a/lib/class/artist.class.php +++ b/lib/class/artist.class.php @@ -222,7 +222,7 @@ class Artist extends database_object { /* Combine prefix and name, trim then add ... if needed */ $name = truncate_with_ellipsis(trim($this->prefix . " " . $this->name),Config::get('ellipse_threshold_artist')); $this->f_name = $name; - $this->f_full_name = trim($this->prefix . " " . $this->name); + $this->f_full_name = trim(trim($this->prefix) . ' ' . trim($this->name)); // If this is a fake object, we're done here if ($this->_fake) { return true; } |