summaryrefslogtreecommitdiffstats
path: root/templates/show_random_albums.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_random_albums.inc.php')
-rw-r--r--templates/show_random_albums.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show_random_albums.inc.php b/templates/show_random_albums.inc.php
index 0b1f0dc8..2b91dae2 100644
--- a/templates/show_random_albums.inc.php
+++ b/templates/show_random_albums.inc.php
@@ -33,7 +33,7 @@ $button = Ajax::button('?page=index&action=random_albums','random',_('Refresh'),
?>
<div class="random_album">
<a href="<?php echo $web_path; ?>/albums.php?action=show&amp;album=<?php echo $album_id; ?>">
- <?php if (Browse::is_enabled('show_art')) { ?>
+ <?php if (Art::is_enabled()) { ?>
<img src="<?php echo $web_path; ?>/image.php?thumb=3&amp;id=<?php echo $album_id; ?>" width="80" height="80" alt="<?php echo $name; ?>" title="<?php echo $name; ?>" />
<?php } else { ?>
<?php echo '[' . $album->f_artist . '] ' . $album->f_name; ?>