summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/comment/comment.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 89c4fa7e7..c4554d91a 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -958,7 +958,7 @@ function comment_view_multiple($comments, $node, $build_mode = 'full', $weight =
* Implements hook_form_FORM_ID_alter().
*/
function comment_form_node_type_form_alter(&$form, $form_state) {
- if (isset($form['identity']['type'])) {
+ if (isset($form['type'])) {
$form['comment'] = array(
'#type' => 'fieldset',
'#title' => t('Comment settings'),