diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-02-26 19:52:09 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-02-26 19:52:09 +0000 |
commit | 66576708a0f3fd8fc328390c00f7cae1be2d5329 (patch) | |
tree | c36296609623b4c9755f46bb994917fee4e96ba6 /modules/comment | |
parent | 2823cec45edea3bd1f2a8d1b68d7c9b9b4bb45ac (diff) | |
download | brdo-66576708a0f3fd8fc328390c00f7cae1be2d5329.tar.gz brdo-66576708a0f3fd8fc328390c00f7cae1be2d5329.tar.bz2 |
- Patch #51347 by eafarris: fixed typo: coment -> comment.
Diffstat (limited to 'modules/comment')
-rw-r--r-- | modules/comment/comment.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module index ecf68f95c..a1216b0e0 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -529,7 +529,7 @@ function comment_reply($nid, $pid = NULL) { */ function comment_save($edit) { global $user; - if (user_access('post comments') && (user_access('administer coments') || node_comment_mode($edit['nid']) == COMMENT_NODE_READ_WRITE)) { + if (user_access('post comments') && (user_access('administer comments') || node_comment_mode($edit['nid']) == COMMENT_NODE_READ_WRITE)) { if (!form_get_errors()) { // Check for duplicate comments. Note that we have to use the // validated/filtered data to perform such check. |