summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-12-24 14:00:03 +0000
committerDries Buytaert <dries@buytaert.net>2009-12-24 14:00:03 +0000
commit4f32e4165b8e0c9c77e89b482d25df5ce56d1f6b (patch)
treeecd383fb6806191b8622b682975539aea7ccfd8f /modules/comment/comment.module
parent1fc5c4cea3077605181e10d889398462e745ab02 (diff)
downloadbrdo-4f32e4165b8e0c9c77e89b482d25df5ce56d1f6b.tar.gz
brdo-4f32e4165b8e0c9c77e89b482d25df5ce56d1f6b.tar.bz2
- Patch #664012 by sun: fixed comment settings.
Diffstat (limited to 'modules/comment/comment.module')
-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'),