diff --git a/includes/theme.inc b/includes/theme.inc index fd9d40809fa0be4fce65784ebff4759a2eda6b76..cd0559529eb0111cbc6a17087d3a199f8692fba2 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -283,12 +283,6 @@ function theme_form_element($title, $value, $description = NULL, $id = NULL) { $title = "<label>$title:</label><br />"; } } - else { - if ($id) { - $title = "<label for=\"$id\"></label>"; - // TODO: does this make sense to do? - } - } if ($description) { $description = "<div class=\"description\">$description</div>";