diff options
Diffstat (limited to 'modules/comment.module')
-rw-r--r-- | modules/comment.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment.module b/modules/comment.module index 21218bf72..50f9aaeec 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -1264,7 +1264,7 @@ function comment_moderate() { foreach ($moderation as $cid => $vote) { if ($vote) { if (($vote == 'offline') && (user_access("administer comments"))) { - db_query("UPDATE comments SET status = 1 WHERE cid = '%s'", $cid); + db_query("UPDATE comments SET status = 1 WHERE cid = '%d'", $cid); watchdog("special", "comment: unpublished comment #". $cid); /* |