Index: panels_node/panels_node.module
===================================================================
--- panels_node/panels_node.module	(revision 10)
+++ panels_node/panels_node.module	(working copy)
@@ -401,12 +401,12 @@
 }
 
 /**
- * Implementation of hook_export_node_alter()
+ * Implementation of hook_node_export_node_alter()
  *
- * Integrate with export.module for saving panel_nodes into code.
+ * Integrate with node_export.module for saving panel_nodes into code.
  */
-function panels_node_export_node_alter(&$node, $original_node, $method) {
-  if ($method == 'export') {
+function panels_node_node_export_node_alter(&$node, $original_node) {
+  if ($node->type == 'panel') {
     $node_export_omitted = variable_get('node_export_omitted', array());
     if (variable_get('node_export_method', '') != 'save-edit' && (array_key_exists('panel', $node_export_omitted) && !$node_export_omitted['panel'])) {
       drupal_set_message(t("NOTE: in order to import panel_nodes you must first set the export.module settings to \"Save as a new node then edit\", otherwise it won't work."));
