summaryrefslogtreecommitdiffstats
path: root/play/index.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-07-13 04:43:46 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-07-13 04:43:46 +0000
commit5bc35124a7077fc318ecfe0771b3cb591bdf6ef1 (patch)
tree2f040154ec747927581086bcac352dd7d395d81f /play/index.php
parentc837dd5752ec436333fe246ce88a90ccfe6eae93 (diff)
downloadampache-5bc35124a7077fc318ecfe0771b3cb591bdf6ef1.tar.gz
ampache-5bc35124a7077fc318ecfe0771b3cb591bdf6ef1.tar.bz2
ampache-5bc35124a7077fc318ecfe0771b3cb591bdf6ef1.zip
fixed now playing, and added mpd file method to now playing
Diffstat (limited to 'play/index.php')
-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);