diff options
Diffstat (limited to 'lib/class/song.class.php')
-rw-r--r-- | lib/class/song.class.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/class/song.class.php b/lib/class/song.class.php index 81b1bd01..4200ff2a 100644 --- a/lib/class/song.class.php +++ b/lib/class/song.class.php @@ -647,7 +647,9 @@ class Song { $this->f_bitrate = intval($this->bitrate/1000) . "-" . strtoupper($this->mode); // Format Genre - $this->f_genre_link = $this->get_genre_name(); + $this->f_genre = $this->get_genre_name(); + $this->f_genre_link = "<a href=\"" . Config::get('web_path') . "/genre.php?action=show_genre&genre_id=" . $this->genre . "\">$this->f_genre</a>"; + // Format the Time $min = floor($this->time/60); |