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. --- modules/comment/comment.module | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/comment/comment.module') diff --git a/modules/comment/comment.module b/modules/comment/comment.module index fd949a2f6..ef03a0550 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1267,7 +1267,7 @@ function comment_form(&$form_state, $edit, $title = NULL) { $form['_author'] = array( '#type' => 'item', '#title' => t('Your name'), - '#value' => theme('username', $user), + '#markup' => theme('username', $user), ); $form['author'] = array( '#type' => 'value', @@ -1452,7 +1452,7 @@ function comment_form_add_preview($form, &$form_state) { } $form['comment_preview'] = array( - '#value' => $output, + '#markup' => $output, '#weight' => -100, '#prefix' => '
', '#suffix' => '
', @@ -1473,7 +1473,7 @@ function comment_form_add_preview($form, &$form_state) { } $form['comment_preview_below'] = array( - '#value' => $output, + '#markup' => $output, '#weight' => 100, ); -- cgit v1.2.3