summaryrefslogtreecommitdiffstats
path: root/templates/show_albums.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-26 09:38:39 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-26 09:38:39 +0000
commita8b553d73ff51e5441d21b3b57dcb2bb85a5a991 (patch)
treec9dd7baf5a91fca8c2721b0a34cac448224ace4c /templates/show_albums.inc.php
parenta919e9b280ca1a3bce47177e6422f380e8af002a (diff)
downloadampache-a8b553d73ff51e5441d21b3b57dcb2bb85a5a991.tar.gz
ampache-a8b553d73ff51e5441d21b3b57dcb2bb85a5a991.tar.bz2
ampache-a8b553d73ff51e5441d21b3b57dcb2bb85a5a991.zip
fixed rating caching
Diffstat (limited to 'templates/show_albums.inc.php')
-rw-r--r--templates/show_albums.inc.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/show_albums.inc.php b/templates/show_albums.inc.php
index cea21087..8f1cccf5 100644
--- a/templates/show_albums.inc.php
+++ b/templates/show_albums.inc.php
@@ -48,6 +48,9 @@ $ajax_url = Config::get('ajax_url');
<th class="cel_action"><?php echo _('Actions'); ?></th>
</tr>
<?php
+ if (Config::get('ratings')) {
+ Rating::build_cache('album',$object_ids);
+ }
/* Foreach through the albums */
foreach ($object_ids as $album_id) {
$album = new Album($album_id);