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 3ab7239b..c3870e4f 100644
--- a/play/index.php
+++ b/play/index.php
@@ -167,7 +167,7 @@ else {
// Put this song in the now_playing table
$end_time = time() - $song->time;
- $sql = "INSERT INTO now_playing (`song_id`, `user_id`, `start_time`)" .
+ $sql = "INSERT INTO now_playing (`song_id`, `user`, `start_time`)" .
" VALUES ('$song_id', '$uid', '$end_time')";
$db_result = mysql_query($sql, $dbh);
$lastid = mysql_insert_id($dbh);