From 8fa7d74d4daa3a05ecb1028994db71f469282d3d Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Wed, 21 Apr 2004 20:11:22 +0000 Subject: [PATCH] - Patch #6498 by jhriggs: <label> requires opening and closing tags. --- includes/theme.inc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/includes/theme.inc b/includes/theme.inc index fd9d40809fa0..cd0559529eb0 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>"; -- GitLab