summaryrefslogtreecommitdiffstats
path: root/templates/show_playlist_song_row.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_playlist_song_row.inc.php')
-rw-r--r--templates/show_playlist_song_row.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show_playlist_song_row.inc.php b/templates/show_playlist_song_row.inc.php
index e96aa91b..dd92f0fb 100644
--- a/templates/show_playlist_song_row.inc.php
+++ b/templates/show_playlist_song_row.inc.php
@@ -28,7 +28,7 @@
<td class="cel_track"><?php echo $song->f_track; ?></td>
<td class="cel_time"><?php echo $song->f_time; ?></td>
<td class="cel_action">
- <?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>