summaryrefslogtreecommitdiffstats
path: root/templates/show_song.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_song.inc.php')
-rw-r--r--templates/show_song.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show_song.inc.php b/templates/show_song.inc.php
index 45f8c90c..000e1581 100644
--- a/templates/show_song.inc.php
+++ b/templates/show_song.inc.php
@@ -28,7 +28,7 @@ $button_flip_state_id = 'button_flip_state_' . $song->id;
<dd class"<?php echo $rowparity; ?>">
<?php echo Ajax::button('?action=basket&type=song&id=' . $song->id,'add',_('Add'),'add_song_' . $song->id); ?>
<?php if (Access::check_function('download')) { ?>
- <a href="<?php echo $song->get_url(); ?>"><?php echo get_user_icon('link'); ?></a>
+ <a href="<?php echo Song::play_url($song->id); ?>"><?php echo get_user_icon('link'); ?></a>
<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'); ?></a>
<?php } ?>
<?php if (Access::check('interface','75')) { ?>