diff options
Diffstat (limited to 'modules/node')
-rw-r--r-- | modules/node/content_types.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/content_types.inc b/modules/node/content_types.inc index 754084d13..d6e6b92e9 100644 --- a/modules/node/content_types.inc +++ b/modules/node/content_types.inc @@ -364,8 +364,8 @@ function node_node_type($op, $info) { function node_type_reset(&$type) { $info_array = module_invoke_all('node_info'); if (isset($info_array[$type->orig_type])) { + $info_array[$type->orig_type]['type'] = $type->orig_type; $info = _node_type_set_defaults($info_array[$type->orig_type]); - $info['type'] = $type->orig_type; foreach ($info as $field => $value) { $type->$field = $value; |