diff options
Diffstat (limited to 'templates/show_albums.inc.php')
-rw-r--r-- | templates/show_albums.inc.php | 3 |
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); |