summaryrefslogtreecommitdiffstats
path: root/templates/show_songs.inc
diff options
context:
space:
mode:
authorxgizzmo <xgizzmo@ampache>2006-04-24 22:12:30 +0000
committerxgizzmo <xgizzmo@ampache>2006-04-24 22:12:30 +0000
commitaf554e6296eff9ee08ad59597f27378e4b2a8db8 (patch)
tree4ceecd20fbb2411c09705cbadc4fa039f503c9ad /templates/show_songs.inc
parent9c65bbb26cf5ee302ce8bfa4a196c3f8255ac359 (diff)
downloadampache-af554e6296eff9ee08ad59597f27378e4b2a8db8.tar.gz
ampache-af554e6296eff9ee08ad59597f27378e4b2a8db8.tar.bz2
ampache-af554e6296eff9ee08ad59597f27378e4b2a8db8.zip
lets try this again the right way
Diffstat (limited to 'templates/show_songs.inc')
-rw-r--r--templates/show_songs.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show_songs.inc b/templates/show_songs.inc
index 4ab38820..7d2c5620 100644
--- a/templates/show_songs.inc
+++ b/templates/show_songs.inc
@@ -131,7 +131,7 @@ foreach ($song_ids as $song_id) {
| <a href="<?php echo $web_path; ?>/download/index.php?action=download&amp;song_id=<?php echo $song->id; ?>&amp;sid=<?php echo scrub_out(session_id()); ?>&amp;fn=<?php echo rawurlencode($song->f_artist_full . " - " . $song->title . "." . $song->type); ?>"><?php echo _('Download'); ?></a>
<?php } ?>
<?php if ($GLOBALS['user']->prefs['direct_link']) { ?>
- | <a href="<?php echo $song->get_url(); ?>"><?php echo _('Direct Link'); ?></a>
+ | <a href="<?php echo scrub_out($song->get_url()); ?>"><?php echo _('Direct Link'); ?></a>
<?php } ?>
</td>
<?php if(conf('ratings')) { ?>