From e3c284b7da3af99624ac43806421cc6c86b29de8 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Mon, 10 Mar 2008 06:35:19 +0000 Subject: added song action for the api, fiddled with the democratic play stuff again --- lib/class/democratic.class.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/class/democratic.class.php') 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); -- cgit