summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/theme.inc6
1 files changed, 0 insertions, 6 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index fd9d40809..cd0559529 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>";