diff options
Diffstat (limited to 'templates/show_songs.inc.php')
-rw-r--r-- | templates/show_songs.inc.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/templates/show_songs.inc.php b/templates/show_songs.inc.php index 54ead654..1512c67e 100644 --- a/templates/show_songs.inc.php +++ b/templates/show_songs.inc.php @@ -45,15 +45,14 @@ $ajax_url = Config::get('ajax_url'); <th class="cel_track"><?php echo Ajax::text('?page=browse&action=set_sort&sort=track',_('Track'),'sort_song_track'); ?></th> <th class="cel_time"><?php echo Ajax::text('?page=browse&action=set_sort&sort=time',_('Time'),'sort_song_time'); ?></th> <?php if (Config::get('ratings')) { - Rating::build_cache('song', $object_ids); - ?> + Rating::build_cache('song', $object_ids); +?> <th class="cel_rating"><?php echo _('Rating'); ?></th> <?php } ?> <th class="cel_tags"><?php echo _('Tags'); ?></th> <th class="cel_action"><?php echo _('Action'); ?></th> </tr> <?php - Song::build_cache($object_ids); foreach ($object_ids as $song_id) { $song = new Song($song_id); $song->format(); |