From 9f8fcab8dbc6d7e61cc96f897d00e17c9026d8d9 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 22 Nov 2005 15:13:15 +0000 Subject: - Patch #35726 by asimmonds: post_process -> build_after --- modules/comment.module | 2 +- modules/comment/comment.module | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/comment.module b/modules/comment.module index 0fce40d14..a16d31c1a 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -1188,7 +1188,7 @@ function comment_form($edit, $title = NULL) { } if ($op == t('Preview comment')) { - $form['#post_process'] = 'comment_form_add_preview'; + $form['#after_build'] = 'comment_form_add_preview'; } if ($_REQUEST['destination']) { diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 0fce40d14..a16d31c1a 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1188,7 +1188,7 @@ function comment_form($edit, $title = NULL) { } if ($op == t('Preview comment')) { - $form['#post_process'] = 'comment_form_add_preview'; + $form['#after_build'] = 'comment_form_add_preview'; } if ($_REQUEST['destination']) { -- cgit v1.2.3