- Patch #110888 by Heine: fixed drupal_alter glitch().

6.x
Dries Buytaert 2007-03-29 23:19:33 +00:00
parent f3c839634d
commit 630277cc89
1 changed files with 1 additions and 2 deletions

View File

@ -374,7 +374,7 @@ function comment_link($type, $node = NULL, $teaser = FALSE) {
return $links;
}
function comment_form_alter($form, $form_id) {
function comment_form_alter(&$form, $form_id) {
if ($form_id == 'node_type_form' && isset($form['identity']['type'])) {
$form['workflow']['comment'] = array(
'#type' => 'radios',
@ -403,7 +403,6 @@ function comment_form_alter($form, $form_id) {
);
}
}
return $form;
}
/**