summaryrefslogtreecommitdiffstats
path: root/templates/show_localplay_playlist.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_localplay_playlist.inc.php')
-rw-r--r--templates/show_localplay_playlist.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show_localplay_playlist.inc.php b/templates/show_localplay_playlist.inc.php
index e9806a02..b8d87108 100644
--- a/templates/show_localplay_playlist.inc.php
+++ b/templates/show_localplay_playlist.inc.php
@@ -35,7 +35,7 @@
<?php
foreach ($objects as $object) {
$class = ' class="cel_name"';
- if ($status['track'] == $song['track']) { $class=' class="cel_name lp_current"'; }
+ if ($status['track'] == $object['track']) { $class=' class="cel_name lp_current"'; }
?>
<tr class="<?php echo flip_class(); ?>" id="localplay_playlist_<?php echo $object['id']; ?>">
<td class="cel_track">