diff --git a/relation_endpoint.module b/relation_endpoint.module
index 77d5ca1..73320be 100644
--- a/relation_endpoint.module
+++ b/relation_endpoint.module
@@ -141,7 +141,12 @@ function _relation_endpoint_field_create_html_table($endpoints) {
     $entity = reset($entities);
     $label = entity_label($endpoint['entity_type'], $entity);
     $uri = entity_uri($endpoint['entity_type'], $entity);
-    $list_items[$delta] = array(l($label, $uri['path'], $uri['options']), $entity_info[$endpoint['entity_type']]['label']);
+    if ($uri) {
+      $list_items[$delta] = array(l($label, $uri['path'], $uri['options']), $entity_info[$endpoint['entity_type']]['label']);
+    }
+    else {
+      $list_items[$delta] = array($label, $entity_info[$endpoint['entity_type']]['label']);
+    }
   }
   $headers = array(
     t('Entity'),
