diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-04-17 12:54:02 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-04-17 12:54:02 +0000 |
commit | 874d73589114d8868b5770868805acc6eb022a92 (patch) | |
tree | da74e14ceee2729abc5f3e543e5e7cd9389338a5 /modules/comment/comment.install | |
parent | a1ff602eb629f17e04c55a42705409a4a2a1272a (diff) | |
download | brdo-874d73589114d8868b5770868805acc6eb022a92.tar.gz brdo-874d73589114d8868b5770868805acc6eb022a92.tar.bz2 |
- Patch #682552 by mradcliffe, jhodgdon: fixed notices.
Diffstat (limited to 'modules/comment/comment.install')
-rw-r--r-- | modules/comment/comment.install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.install b/modules/comment/comment.install index 36d5c3f95..952392664 100644 --- a/modules/comment/comment.install +++ b/modules/comment/comment.install @@ -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); } } |