summaryrefslogtreecommitdiff
path: root/modules/comment/comment.pages.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-11-16 19:41:14 +0000
committerDries Buytaert <dries@buytaert.net>2008-11-16 19:41:14 +0000
commitdc65b62aceddb0dc5f7b61bd1f1f3d46015a5969 (patch)
tree7e569b903521dd48564ba4feff2cc544fdb3be23 /modules/comment/comment.pages.inc
parenta6b4f3b61f2a73e87e19eaa68f31a3687561e266 (diff)
downloadbrdo-dc65b62aceddb0dc5f7b61bd1f1f3d46015a5969.tar.gz
brdo-dc65b62aceddb0dc5f7b61bd1f1f3d46015a5969.tar.bz2
- Patch #74645 by drewish, roychri et al: modify file_scan_directory to use a regex for the nomask (and code clean-up).
Diffstat (limited to 'modules/comment/comment.pages.inc')
-rw-r--r--modules/comment/comment.pages.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.pages.inc b/modules/comment/comment.pages.inc
index d1a3026fd..cc2913520 100644
--- a/modules/comment/comment.pages.inc
+++ b/modules/comment/comment.pages.inc
@@ -70,7 +70,7 @@ function comment_reply($node, $pid = NULL) {
if ($pid) {
// Load the comment whose cid = $pid
$comment = db_query('SELECT c.*, u.uid, u.name AS registered_name, u.signature, u.picture, u.data FROM {comments} c INNER JOIN {users} u ON c.uid = u.uid WHERE c.cid = :cid AND c.status = :status', array(
- ':cid'=>$pid,
+ ':cid'=>$pid,
':status'=>COMMENT_PUBLISHED))->fetchObject();
if ( $comment ) {
// If that comment exists, make sure that the current comment and the