diff --git a/modules/customer/includes/commerce_customer.checkout_pane.inc b/modules/customer/includes/commerce_customer.checkout_pane.inc
index 78390fc..ac6e321 100644
--- a/modules/customer/includes/commerce_customer.checkout_pane.inc
+++ b/modules/customer/includes/commerce_customer.checkout_pane.inc
@@ -76,12 +76,15 @@ function commerce_customer_profile_pane_checkout_form($form, &$form_state, $chec
 
   // Tweak the form to remove the fieldset from address fields.
   $field_name = 'commerce_customer_address';
-  $language = $pane_form[$field_name]['#language'];
 
-  foreach (element_children($pane_form[$field_name][$language]) as $delta) {
-    // Don't mess with the "Add another item" button that could be present.
-    if ($pane_form[$field_name][$language][$delta]['#type'] != 'submit') {
-      $pane_form[$field_name][$language][$delta]['#type'] = 'container';
+  if (!empty($pane_form[$field_name])) {
+    $language = $pane_form[$field_name]['#language'];
+
+    foreach (element_children($pane_form[$field_name][$language]) as $delta) {
+      // Don't mess with the "Add another item" button that could be present.
+      if ($pane_form[$field_name][$language][$delta]['#type'] != 'submit') {
+        $pane_form[$field_name][$language][$delta]['#type'] = 'container';
+      }
     }
   }
 
