Index: link.module
===================================================================
--- link.module	(revision 874)
+++ link.module	(working copy)
@@ -246,8 +246,10 @@ function _link_load(&$item, $delta = 0) 
 
 function _link_process(&$item, $delta = 0, $field, $node) {
   // Remove the target attribute if not selected.
-  if (!$item['attributes']['target'] || $item['attributes']['target'] == "default") {
-    unset($item['attributes']['target']);
+  if (is_array($item['attributes'])) {
+    if (!$item['attributes']['target'] || $item['attributes']['target'] == "default") {
+      unset($item['attributes']['target']);
+    }
   }
   // Trim whitespace from URL.
   $item['url'] = trim($item['url']);
