Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
66576708
Commit
66576708
authored
Feb 26, 2006
by
Dries Buytaert
Browse files
- Patch
#51347
by eafarris: fixed typo: coment -> comment.
parent
2823cec4
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/comment.module
View file @
66576708
...
...
@@ -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 com
m
ents'
)
||
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.
...
...
modules/comment/comment.module
View file @
66576708
...
...
@@ -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 com
m
ents'
)
||
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.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment