diff options
-rw-r--r-- | includes/common.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/common.inc b/includes/common.inc index e21b3fbae..12a0a5e82 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -1035,6 +1035,7 @@ function form($form, $method = 'post', $action = NULL, $attributes = NULL) { if (!$action) { $action = request_uri(); } + // Anonymous div to satisfy XHTML compliancy. return '<form action="'. check_url($action) .'" method="'. $method .'"'. drupal_attributes($attributes) .">\n<div>". $form ."\n</div></form>\n"; } |