This commit is contained in:
Kasper Rynning-Tønnesen
2015-04-16 12:50:21 +02:00
parent 5b13ae1a58
commit 6d06553e81

View File

@@ -336,6 +336,7 @@ function change_song(coll, id)
}else
{
if(id === undefined){
console.log("undef");
db.collection(coll).update({now_playing:true},
{$set:{
now_playing:false,