summaryrefslogtreecommitdiff
path: root/modules/comment/comment.pages.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-03-17 12:41:54 +0000
committerDries Buytaert <dries@buytaert.net>2009-03-17 12:41:54 +0000
commit4072ea46521512da7ff9f57a21cbeb4c4f7c2cfa (patch)
tree74688064bba20c91dd4dba27fd92ddff5cf812a3 /modules/comment/comment.pages.inc
parent917a37fb7e6f8ef522267d004a7ee365dd2cc23e (diff)
downloadbrdo-4072ea46521512da7ff9f57a21cbeb4c4f7c2cfa.tar.gz
brdo-4072ea46521512da7ff9f57a21cbeb4c4f7c2cfa.tar.bz2
- Patch #394374 by cwgordon7, wretched sinner, et al: improved language of comment status. Usability improvement based on testing in Baltimore.
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 dd88ad514..0f8b374a3 100644
--- a/modules/comment/comment.pages.inc
+++ b/modules/comment/comment.pages.inc
@@ -96,7 +96,7 @@ function comment_reply($node, $pid = NULL) {
}
// Should we show the reply box?
- if ($node->comment != COMMENT_NODE_READ_WRITE) {
+ if ($node->comment != COMMENT_NODE_OPEN) {
drupal_set_message(t("This discussion is closed: you can't post new comments."), 'error');
drupal_goto("node/$node->nid");
}