summaryrefslogtreecommitdiffstats
path: root/lib/class/catalog.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-15 07:17:44 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-15 07:17:44 +0000
commita502e236d135fe68b4abd5b30be1febf366d5c40 (patch)
tree67a990bf3e6638e272566ff208cedec4ede257d7 /lib/class/catalog.class.php
parentf274fc8b6d0340c706179730a202f1a9204e2743 (diff)
downloadampache-a502e236d135fe68b4abd5b30be1febf366d5c40.tar.gz
ampache-a502e236d135fe68b4abd5b30be1febf366d5c40.tar.bz2
ampache-a502e236d135fe68b4abd5b30be1febf366d5c40.zip
fixed the gather art, tweaked the heard per multiple recommendations also fixed a endless loop if you visited the index page after not playing anything in ampache for 2 or more years
Diffstat (limited to 'lib/class/catalog.class.php')
-rw-r--r--lib/class/catalog.class.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/class/catalog.class.php b/lib/class/catalog.class.php
index 94fd74ef..b267401a 100644
--- a/lib/class/catalog.class.php
+++ b/lib/class/catalog.class.php
@@ -295,6 +295,9 @@ class Catalog {
// If they have checked the box then go ahead and gather the art
if ($options['gather_art']) {
+ $catalog_id = $this->id;
+ require Config::get('prefix') . '/templates/show_gather_art.inc.php';
+ flush();
$this->get_album_art('',1);
}