summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-09-09 04:56:07 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-09-09 04:56:07 +0000
commit7920c8576184d59a77a9fbe5b00f77f62f3f3b28 (patch)
treed3fe520ae256acf4225a5826f1a0c490cfe36d49 /lib
parent91481874f82f89b06248e83bb34fbb6f49e35e47 (diff)
downloadampache-7920c8576184d59a77a9fbe5b00f77f62f3f3b28.tar.gz
ampache-7920c8576184d59a77a9fbe5b00f77f62f3f3b28.tar.bz2
ampache-7920c8576184d59a77a9fbe5b00f77f62f3f3b28.zip
fixed lock songs which would always return false.. wups...
Diffstat (limited to 'lib')
-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());