diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-12-27 12:56:10 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-12-27 12:56:10 +0000 |
commit | 9d3685009b124705a5ccd33cd6310a4406f8d566 (patch) | |
tree | bffcdd27acdc52a2434680a825481f7ee0791284 | |
parent | 58de01883a1db1ba6833012c58ee64d75564a46a (diff) | |
download | brdo-9d3685009b124705a5ccd33cd6310a4406f8d566.tar.gz brdo-9d3685009b124705a5ccd33cd6310a4406f8d566.tar.bz2 |
#104346 by pwolanin. Load all content type information instead of an overly-minimal set for node type resetting.
-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 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; |