From 62fb3eb6811a5f3bfa70914ceea121e423367efe Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Fri, 22 Apr 2011 21:17:58 -0400
Subject: [PATCH] - Patch #1107384 by droplet: wrong instance definition in
 node.module.

---
 modules/node/node.module | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/node/node.module b/modules/node/node.module
index a59a5b1e4aac..fb3756de23f1 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -569,7 +569,7 @@ function node_add_body_field($type, $label = 'Body') {
       'entity_type' => 'node',
       'bundle' => $type->type,
       'label' => $label,
-      'widget_type' => 'text_textarea_with_summary',
+      'widget' => array('type' => 'text_textarea_with_summary'),
       'settings' => array('display_summary' => TRUE),
       'display' => array(
         'default' => array(
-- 
GitLab