Index: contrib/image_attach/image_attach.module
===================================================================
--- contrib/image_attach/image_attach.module	(revision 1214)
+++ contrib/image_attach/image_attach.module	(working copy)
@@ -394,7 +394,9 @@ function image_attach_validate(&$form, &
 function image_attach_node_form_submit(&$form, &$form_state) {
   // Clear the 0 key in the iids array that arises from selecting the 'None'
   // option. We do this here so image_attach_nodeapi() gets clean data.
-  unset($form_state['values']['iids'][0]);
+  if (isset($form_state['values']['iids'][0])) {
+    unset($form_state['values']['iids'][0]);
+  }
 }
 
 /**
