summaryrefslogtreecommitdiffstats
path: root/lib/general.lib.php
diff options
context:
space:
mode:
authorxgizzmo <xgizzmo@ampache>2007-07-29 21:21:32 +0000
committerxgizzmo <xgizzmo@ampache>2007-07-29 21:21:32 +0000
commite46b19547e7d16999b05577ec64631cc12796355 (patch)
treea18f0af39faecf11f2f1faa770991c34b59906a4 /lib/general.lib.php
parentf6121006313be194bc760e27e4af60828c69b38f (diff)
downloadampache-e46b19547e7d16999b05577ec64631cc12796355.tar.gz
ampache-e46b19547e7d16999b05577ec64631cc12796355.tar.bz2
ampache-e46b19547e7d16999b05577ec64631cc12796355.zip
Replace references to old code with new code
Diffstat (limited to 'lib/general.lib.php')
-rw-r--r--lib/general.lib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/general.lib.php b/lib/general.lib.php
index 65422c48..ea1556d3 100644
--- a/lib/general.lib.php
+++ b/lib/general.lib.php
@@ -452,7 +452,7 @@ function get_global_popular($type) {
$song->format();
$text = "$song->f_artist_full - $song->title";
/* Add to array */
- $song->link = "<a href=\"$web_path/song.php?action=single_song&amp;song_id=$song->id\" title=\"". scrub_out($text) ."\">" .
+ $song->link = "<a href=\"$web_path/stream.php?action=single_song&amp;song_id=$song->id\" title=\"". scrub_out($text) ."\">" .
scrub_out(truncate_with_ellipsis($text, Config::get('ellipsis_threshold_title')+3)) . "&nbsp;(" . $r['count'] . ")</a>";
$items[] = $song;
} // if it's a song