summaryrefslogtreecommitdiff
path: root/modules/comment.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-12-28 10:47:33 +0000
committerDries Buytaert <dries@buytaert.net>2003-12-28 10:47:33 +0000
commitbaaa21e1316354ada6d985a5b799ce17d6255590 (patch)
treedcd7d9a51ad26ff41e6633cca4b5a272ba72eab8 /modules/comment.module
parent5c0cd3c03f956412c0b0e859d31a1ffe265ef1a1 (diff)
downloadbrdo-baaa21e1316354ada6d985a5b799ce17d6255590.tar.gz
brdo-baaa21e1316354ada6d985a5b799ce17d6255590.tar.bz2
- Tidied up some inconsistencies in the code: scripts/code-style.sh is your friend.
Diffstat (limited to 'modules/comment.module')
-rw-r--r--modules/comment.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment.module b/modules/comment.module
index 7a24114f4..47ff9e2a6 100644
--- a/modules/comment.module
+++ b/modules/comment.module
@@ -598,7 +598,7 @@ function comment_render($node, $cid = 0) {
$result = db_query("SELECT c.cid, c.pid, c.nid, c.subject, c.comment, c.timestamp, u.uid, u.name, u.data, c.score, c.users FROM {comments} c INNER JOIN {users} u ON c.uid = u.uid WHERE c.cid = %d AND c.status = 0 GROUP BY c.cid, c.pid, c.nid, c.subject, c.comment, c.timestamp, u.uid, u.name, u.data, c.score, c.users", $cid);
if ($comment = db_fetch_object($result)) {
- $output .= theme("comment_view",$comment, comment_links($comment));
+ $output .= theme("comment_view", $comment, comment_links($comment));
}
if ((comment_user_can_moderate($node)) && $user->uid != $comment->uid && !(comment_already_moderated($user->uid, $comment->users))) {