summaryrefslogtreecommitdiff
path: root/profiles/default/default.profile
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/default/default.profile')
-rw-r--r--profiles/default/default.profile5
1 files changed, 2 insertions, 3 deletions
diff --git a/profiles/default/default.profile b/profiles/default/default.profile
index f864b579c..89800f66b 100644
--- a/profiles/default/default.profile
+++ b/profiles/default/default.profile
@@ -4,11 +4,10 @@
/**
* Implements hook_form_alter().
*
- * Allows the profile to alter the site-configuration form. This is
- * called through custom invocation, so $form_state is not populated.
+ * Allows the profile to alter the site configuration form.
*/
function default_form_alter(&$form, $form_state, $form_id) {
- if ($form_id == 'install_configure') {
+ if ($form_id == 'install_configure_form') {
// Set default for site name field.
$form['site_information']['site_name']['#default_value'] = $_SERVER['SERVER_NAME'];
}