Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
630277cc
Commit
630277cc
authored
Mar 29, 2007
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Patch
#110888
by Heine: fixed drupal_alter glitch().
parent
f3c83963
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
modules/comment/comment.module
modules/comment/comment.module
+1
-2
No files found.
modules/comment/comment.module
View file @
630277cc
...
...
@@ -374,7 +374,7 @@ function comment_link($type, $node = NULL, $teaser = FALSE) {
return
$links
;
}
function
comment_form_alter
(
$form
,
$form_id
)
{
function
comment_form_alter
(
&
$form
,
$form_id
)
{
if
(
$form_id
==
'node_type_form'
&&
isset
(
$form
[
'identity'
][
'type'
]))
{
$form
[
'workflow'
][
'comment'
]
=
array
(
'#type'
=>
'radios'
,
...
...
@@ -403,7 +403,6 @@ function comment_form_alter($form, $form_id) {
);
}
}
return
$form
;
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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