diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-07-16 21:59:29 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-07-16 21:59:29 +0000 |
commit | 57fe5103daf5db65cd43f309e0f22f5c4781605d (patch) | |
tree | f111e494e7ce2c666727c35541b3758c3c0dad84 /modules/comment/comment.module | |
parent | 11b9f390bfc37d8df0fabde3a3417d60b55f8de4 (diff) | |
download | brdo-57fe5103daf5db65cd43f309e0f22f5c4781605d.tar.gz brdo-57fe5103daf5db65cd43f309e0f22f5c4781605d.tar.bz2 |
- Patch #252013 by Eaton, pwolanin, Susurrus et al: drupal_render() now printes #markup, not #value.
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r-- | modules/comment/comment.module | 6 |
1 files changed, 3 insertions, 3 deletions
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' => '<div class="preview">', '#suffix' => '</div>', @@ -1473,7 +1473,7 @@ function comment_form_add_preview($form, &$form_state) { } $form['comment_preview_below'] = array( - '#value' => $output, + '#markup' => $output, '#weight' => 100, ); |