From 41fdf60ba48d4d0cc0919a4aee7608134bf55b89 Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Wed, 25 Jun 2008 09:57:07 +0000 Subject: [PATCH] - Patch #273523 by aclight: fixed E_NOTICE in theme_fieldset(). --- includes/form.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/form.inc b/includes/form.inc index 3df1a60f4431..b4181d449ea0 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -1501,7 +1501,7 @@ function theme_fieldset($element) { } } - return '<fieldset' . drupal_attributes($element['#attributes']) . '>' . ($element['#title'] ? '<legend>' . $element['#title'] . '</legend>' : '') . (isset($element['#description']) && $element['#description'] ? '<div class="description">' . $element['#description'] . '</div>' : '') . (!empty($element['#children']) ? $element['#children'] : '') . $element['#value'] . "</fieldset>\n"; + return '<fieldset' . drupal_attributes($element['#attributes']) . '>' . ($element['#title'] ? '<legend>' . $element['#title'] . '</legend>' : '') . (isset($element['#description']) && $element['#description'] ? '<div class="description">' . $element['#description'] . '</div>' : '') . (!empty($element['#children']) ? $element['#children'] : '') . (isset($element['#value']) ? $element['#value'] : '') . "</fieldset>\n"; } /** -- GitLab