summaryrefslogtreecommitdiffstats
path: root/lib/class/democratic.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-03-10 06:35:19 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-03-10 06:35:19 +0000
commite3c284b7da3af99624ac43806421cc6c86b29de8 (patch)
tree7d40737a181673e2c3c28d26c36d29b1fecda1fb /lib/class/democratic.class.php
parent311ac991126f68b12a6a29747091544de4acf6a1 (diff)
downloadampache-e3c284b7da3af99624ac43806421cc6c86b29de8.tar.gz
ampache-e3c284b7da3af99624ac43806421cc6c86b29de8.tar.bz2
ampache-e3c284b7da3af99624ac43806421cc6c86b29de8.zip
added song action for the api, fiddled with the democratic play stuff again
Diffstat (limited to 'lib/class/democratic.class.php')
-rw-r--r--lib/class/democratic.class.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/class/democratic.class.php b/lib/class/democratic.class.php
index 922120d2..10d72777 100644
--- a/lib/class/democratic.class.php
+++ b/lib/class/democratic.class.php
@@ -104,6 +104,7 @@ class Democratic extends tmpPlaylist {
// If not passed user global
$user_id = $user_id ? $user_id : $GLOBALS['user']->id;
+
/* Find the - 1 one for now */
$sql = "SELECT `id` FROM `tmp_playlist` WHERE `session`='-1'";
$db_results = Dba::query($sql);