summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/stream.lib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stream.lib.php b/lib/stream.lib.php
index c3915954..262df981 100644
--- a/lib/stream.lib.php
+++ b/lib/stream.lib.php
@@ -108,7 +108,7 @@ function insert_now_playing($song_id,$uid,$song_length) {
*/
function check_lock_songs($song_id) {
- $sql = "SELECT COUNT(*) FROM now_playing " .
+ $sql = "SELECT song_id FROM now_playing " .
"WHERE song_id = '$song_id'";
$db_results = mysql_query($sql, dbh());