diff --git a/components/select.inc b/components/select.inc
index 16e7c70..32a4232 100644
--- a/components/select.inc
+++ b/components/select.inc
@@ -314,6 +314,11 @@ function _webform_render_select($component, $value = NULL, $filter = TRUE) {
   // Convert the user-entered options list into an array.
   $default_value = $filter ? webform_replace_tokens($component['value'], $node) : $component['value'];
   $options = _webform_select_options($component, !$component['extra']['aslist'], $filter);
+  if(empty($options)) {
+    // Make element inaccessible if there are no options,
+    // no point in showing it.
+    $element['#access'] = FALSE;
+  }
 
   if ($component['extra']['optrand']) {
     _webform_shuffle_options($options);
