summaryrefslogtreecommitdiffstats
path: root/templates/show_localplay_playlist.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-30 08:29:23 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-30 08:29:23 +0000
commit4e716204e84fc7546372bdae79121e47b92412bc (patch)
tree2f1ff4913d6363111cea36b7dbaf0d2f8266a3b9 /templates/show_localplay_playlist.inc.php
parent5975361e038e17e5f91fd69da4f5df2d3e5af259 (diff)
downloadampache-4e716204e84fc7546372bdae79121e47b92412bc.tar.gz
ampache-4e716204e84fc7546372bdae79121e47b92412bc.tar.bz2
ampache-4e716204e84fc7546372bdae79121e47b92412bc.zip
fixed localplay index problem after track delete, fixed lack of high-light of current playing song, fixed problem were second localplay send would kill session of any existing items
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">