diff --git a/includes/submission.inc b/includes/submission.inc
index b91d30de58f45a8032a8253d6fa706e01295141f..67c814079b9c61c005b10a2256ed9a6deaa923e0 100644
--- a/includes/submission.inc
+++ b/includes/submission.inc
@@ -21,7 +21,7 @@ function submission_vote($id, $vote, $comment) {
     if ($comment) {
       watchdog("comment", "moderation: added comment with subject '$subject'");
 
-      db_query("INSERT INTO comments (sid, author, subject, comment, hostname, timestamp) VALUES($id, $user->id, '". check_input(substr($comment, 0, 29)) ." ...', '". check_input($comment) ."', '". getenv("REMOTE_ADDR") ."', '". time() ."')");
+      db_query("INSERT INTO comments (sid, author, subject, comment, hostname, timestamp, score) VALUES($id, $user->id, '". check_input(substr($comment, 0, 29)) ." ...', '". check_input($comment) ."', '". getenv("REMOTE_ADDR") ."', '". time() ."', '" . ($user->userid ? 1 : 0) . "')");
     }
 
     // Update user's history record: