Commit 9d368500 authored by drumm's avatar drumm

#104346 by pwolanin. Load all content type information instead of an...

#104346 by pwolanin. Load all content type information instead of an overly-minimal set for node type resetting.
parent 58de0188
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment