diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-07-17 23:53:32 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-07-17 23:53:32 -0700 |
commit | a3f4ab154828c90f4bc37ea4bf8edff8573921db (patch) | |
tree | a8cfcb7759b1240712c2c2b5c25cb8415a82801c /modules/node | |
parent | 5dc4ddd927928a2a6b0209331d3d66d201d3e7b5 (diff) | |
download | brdo-a3f4ab154828c90f4bc37ea4bf8edff8573921db.tar.gz brdo-a3f4ab154828c90f4bc37ea4bf8edff8573921db.tar.bz2 |
Issue #931512 by ahwebd, catch, tobiasb: Fixed Node body 'description' and 'required' are missed on nodes upgraded from D6 to D7.
Diffstat (limited to 'modules/node')
-rw-r--r-- | modules/node/node.install | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/node/node.install b/modules/node/node.install index 852c1117b..a08e99757 100644 --- a/modules/node/node.install +++ b/modules/node/node.install @@ -628,6 +628,8 @@ function node_update_7006(&$sandbox) { 'entity_type' => 'node', 'bundle' => $node_type->type, 'label' => $node_type->body_label, + 'description' => isset($node_type->description) ? $node_type->description : '', + 'required' => (isset($node_type->min_word_count) && $node_type->min_word_count > 0) ? 1 : 0, 'widget' => array( 'type' => 'text_textarea_with_summary', 'settings' => array( |