--- sf_node.module	25 Feb 2009 23:46:02 -0000	1.2.2.3
+++ sf_node.module	16 Mar 2009 20:22:45 -0000
@@ -57,6 +57,9 @@ function sf_node_nodeapi(&$node, $op, $a
     case 'insert':
       // Detect whether or not this should be an auto-update for this node
         $options = salesforce_api_fieldmap_options('node_'. $node->type, NULL, TRUE);
+        if (empty($options)) { 
+          return;
+        }
         if (count($options) > 0) {
           $map = key($options);
         }
