Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
874d7358
Commit
874d7358
authored
Apr 17, 2010
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Patch
#682552
by mradcliffe, jhodgdon: fixed notices.
parent
a1ff602e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/comment/comment.install
modules/comment/comment.install
+1
-1
No files found.
modules/comment/comment.install
View file @
874d7358
...
...
@@ -69,7 +69,7 @@ function comment_enable() {
// and a comment_field_attach_create_bundle() function should be added to
// handle the creation of the comment body field instance.
foreach
(
node_type_get_types
()
as
$type
=>
$info
)
{
if
(
!
(
$info
->
is_new
)
&&
!
(
$info
->
disabled
)
&&
!
field_info_instance
(
'comment'
,
'comment_body'
,
'comment_node_'
.
$info
->
type
))
{
if
(
!
isset
(
$info
->
is_new
)
&&
!
isset
(
$info
->
disabled
)
&&
!
field_info_instance
(
'comment'
,
'comment_body'
,
'comment_node_'
.
$info
->
type
))
{
_comment_body_field_instance_create
(
$info
);
}
}
...
...
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