Index: node_export.module =================================================================== --- node_export.module 9 May 2009 02:36:31 -0000 1.1.2.1 +++ node_export.module 22 Jun 2009 23:56:27 -0000 @@ -67,9 +67,12 @@ function node_export_access($node) { return $access; } +/** + * Determines if a node type is allowed to be exported, and exists. + **/ function node_export_is_permitted($type) { $omitted = variable_get('node_export_omitted', array()); - return empty($omitted[$type]); + return empty($omitted[$type]) && node_get_types('name', (object) array('type' => $type)) != FALSE; } /**