summaryrefslogtreecommitdiffstats
path: root/lib/class/album.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-05-10 16:21:03 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-05-10 16:21:03 +0000
commitb0100f954d48cf7abcfdea9cc8af7b44e47cfd49 (patch)
tree17572ef2c1cf0605daaaaaa68a0c594cefc95bd7 /lib/class/album.class.php
parent877e451f7a5cf7761245479244f8299e6659ba0e (diff)
downloadampache-b0100f954d48cf7abcfdea9cc8af7b44e47cfd49.tar.gz
ampache-b0100f954d48cf7abcfdea9cc8af7b44e47cfd49.tar.bz2
ampache-b0100f954d48cf7abcfdea9cc8af7b44e47cfd49.zip
return the constructed url
Diffstat (limited to 'lib/class/album.class.php')
-rw-r--r--lib/class/album.class.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/class/album.class.php b/lib/class/album.class.php
index 182d841e..533a4bfa 100644
--- a/lib/class/album.class.php
+++ b/lib/class/album.class.php
@@ -991,7 +991,9 @@ class Album extends database_object {
$name = 'art.' . $type;
- Config::get('web_path') . '/image.php?id=' . scrub_out($album_id) . '&auth=' . $sid . '&name=' . $name;
+ $url = Config::get('web_path') . '/image.php?id=' . scrub_out($album_id) . '&auth=' . $sid . '&name=' . $name;
+
+ return $url;
} // get_art_url