summaryrefslogtreecommitdiffstats
path: root/templates/show_song_row.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_song_row.inc.php')
-rw-r--r--templates/show_song_row.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show_song_row.inc.php b/templates/show_song_row.inc.php
index 1cf863e9..492fff9f 100644
--- a/templates/show_song_row.inc.php
+++ b/templates/show_song_row.inc.php
@@ -37,7 +37,7 @@
<?php echo get_user_icon('comment',_('Post Shout')); ?>
</a>
<?php } ?>
- <?php if ($GLOBALS['user']->prefs['download']) { ?>
+ <?php if (Config::get('download')) { ?>
<a href="<?php echo Config::get('web_path'); ?>/stream.php?action=download&amp;song_id=<?php echo $song->id; ?>">
<?php echo get_user_icon('download',_('Download')); ?>
</a>