diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-03-29 16:30:40 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-03-29 16:30:40 +0000 |
commit | 4742ba3549a72b431fc8cad8bd9019e5f59aed9a (patch) | |
tree | b746bb0a9f08fa50461fce05176a53b810ade369 /modules/comment.module | |
parent | 6857ab3dbbe0d90325d3b07b0f0c594377b172d8 (diff) | |
download | brdo-4742ba3549a72b431fc8cad8bd9019e5f59aed9a.tar.gz brdo-4742ba3549a72b431fc8cad8bd9019e5f59aed9a.tar.bz2 |
- Fixed some SQL query directives.
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); /* |