From 57fe5103daf5db65cd43f309e0f22f5c4781605d Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 16 Jul 2008 21:59:29 +0000 Subject: - Patch #252013 by Eaton, pwolanin, Susurrus et al: drupal_render() now printes #markup, not #value. --- includes/form.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/form.inc') diff --git a/includes/form.inc b/includes/form.inc index b4181d449..319ed46e3 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -1836,7 +1836,7 @@ function form_expand_ahah($element) { * @ingroup themeable */ function theme_item($element) { - return theme('form_element', $element, $element['#value'] . (!empty($element['#children']) ? $element['#children'] : '')); + return theme('form_element', $element, $element['#markup'] . (!empty($element['#children']) ? $element['#children'] : '')); } /** @@ -2085,7 +2085,7 @@ function theme_textarea($element) { */ function theme_markup($element) { - return (isset($element['#value']) ? $element['#value'] : '') . (isset($element['#children']) ? $element['#children'] : ''); + return (isset($element['#markup']) ? $element['#markup'] : '') . (isset($element['#children']) ? $element['#children'] : ''); } /** -- cgit v1.2.3