summaryrefslogtreecommitdiffstats
path: root/play
diff options
context:
space:
mode:
Diffstat (limited to 'play')
-rw-r--r--play/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/play/index.php b/play/index.php
index a3ba5cd3..9b066665 100644
--- a/play/index.php
+++ b/play/index.php
@@ -256,7 +256,7 @@ while (!feof($fp) && (connection_status() == 0)) {
if ($bytesStreamed > $minBytesStreamed) {
$user->update_stats($song_id);
/* If this is a voting tmp playlist remove the entry */
- if (is_object($tmp_playlist) {
+ if (is_object($tmp_playlist)) {
if ($tmp_playlist->type == 'vote') {
$tmp_playlist->delete_track($song_id);
}