diff options
author | Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> | 2006-04-20 07:11:37 +0000 |
---|---|---|
committer | Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> | 2006-04-20 07:11:37 +0000 |
commit | 297ed741f8d32569b82ea44ea144e332f595933b (patch) | |
tree | 6805754a09793c41ae3b1929a183a082b7476c32 /modules/comment/comment.module | |
parent | 4e9a12ddb8f3d3c986aa9213df1ee7f0bd90f655 (diff) | |
download | brdo-297ed741f8d32569b82ea44ea144e332f595933b.tar.gz brdo-297ed741f8d32569b82ea44ea144e332f595933b.tar.bz2 |
#58221, Turn #after_build into a functions array in order to make validation of date fields possible. Patch by yched, tenrapid
Also makes forms API more consistent (see #pre_render)
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r-- | modules/comment/comment.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module index af8b51d1a..8a3db48b8 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1355,7 +1355,7 @@ function comment_form($edit, $title = NULL) { } if ($op == t('Preview comment')) { - $form['#after_build'] = 'comment_form_add_preview'; + $form['#after_build'] = array('comment_form_add_preview'); } if ($_REQUEST['destination']) { |