Commit 630277cc authored by Dries's avatar Dries

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

parent f3c83963
......@@ -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;
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment