From 9d3685009b124705a5ccd33cd6310a4406f8d566 Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Wed, 27 Dec 2006 12:56:10 +0000 Subject: #104346 by pwolanin. Load all content type information instead of an overly-minimal set for node type resetting. --- modules/node/content_types.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/node/content_types.inc b/modules/node/content_types.inc index 63aa24836..59a1f5e8f 100644 --- a/modules/node/content_types.inc +++ b/modules/node/content_types.inc @@ -361,7 +361,7 @@ function node_node_type($op, $info) { * then nothing happens. */ function node_type_reset(&$type) { - $info_array = module_invoke($type->module, 'node_info'); + $info_array = module_invoke_all('node_info'); if (isset($info_array[$type->orig_type])) { $info = _node_type_set_defaults($info_array[$type->orig_type]); $info['type'] = $type->orig_type; -- cgit v1.2.3