summaryrefslogtreecommitdiff
path: root/modules/contact
diff options
context:
space:
mode:
Diffstat (limited to 'modules/contact')
-rw-r--r--modules/contact/contact.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/contact/contact.module b/modules/contact/contact.module
index fc66f0519..0dcf67d86 100644
--- a/modules/contact/contact.module
+++ b/modules/contact/contact.module
@@ -239,7 +239,7 @@ function contact_user_presave(&$edit, $account, $category) {
}
/**
- * Implement of hook_form_FORM_ID_alter().
+ * Implements hook_form_FORM_ID_alter().
*
* Add the default personal contact setting on the user settings page.
*/
@@ -253,6 +253,6 @@ function contact_form_user_admin_settings_alter(&$form, &$form_state) {
'#type' => 'checkbox',
'#title' => t('Enable the personal contact form by default for new users.'),
'#description' => t('Changing this setting will not affect existing users.'),
- '#default_value' => 1,
+ '#default_value' => variable_get('contact_default_status', 1),
);
}