- Patch #110888 by Heine: fixed drupal_alter glitch().
parent
f3c839634d
commit
630277cc89
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue