diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-03-30 07:19:13 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-03-30 07:19:13 +0000 |
commit | a9bb68d98fb7eccd654a3f70bb21fd9ae82df0f2 (patch) | |
tree | 5968917e81ab7ebf73bff759b7aaddd4a8ae44a2 /modules | |
parent | 8588850d45f194fcbae8d4f123c730e6c86f925e (diff) | |
download | brdo-a9bb68d98fb7eccd654a3f70bb21fd9ae82df0f2.tar.gz brdo-a9bb68d98fb7eccd654a3f70bb21fd9ae82df0f2.tar.bz2 |
- removed debug statement
Diffstat (limited to 'modules')
-rw-r--r-- | modules/rating.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/rating.module b/modules/rating.module index dfae07594..c0052f66d 100644 --- a/modules/rating.module +++ b/modules/rating.module @@ -26,7 +26,7 @@ function rating_cron() { $bonus -= $story->number / 2; } - $r4 = db_query("SELECT score, votes FROM comments WHERE author = '$rating->id' AND (". time() ." - timestamp < $period) ORDER BY timestamp LIMIT $number", 1); + $r4 = db_query("SELECT score, votes FROM comments WHERE author = '$rating->id' AND (". time() ." - timestamp < $period) ORDER BY timestamp LIMIT $number"); while ($comment = db_fetch_object($r4)) { $weight++; $score += $weight * $comment->score; |