From d79dff03ac0a40457ec5d380f73ecd0bf1ea3e35 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 22 Jul 2010 16:16:42 +0000 Subject: - Patch #124980 by jhodgdon: Indexer is removing ... and -- instead of replacing with a space. --- profiles/standard/standard.profile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'profiles/standard/standard.profile') diff --git a/profiles/standard/standard.profile b/profiles/standard/standard.profile index d8203d0e5..9180e9580 100644 --- a/profiles/standard/standard.profile +++ b/profiles/standard/standard.profile @@ -2,13 +2,11 @@ // $Id$ /** - * Implements hook_form_alter(). + * Implements hook_form_FORM_ID_alter(). * * Allows the profile to alter the site configuration form. */ -function standard_form_alter(&$form, $form_state, $form_id) { - if ($form_id == 'install_configure_form') { - // Set default for site name field. - $form['site_information']['site_name']['#default_value'] = $_SERVER['SERVER_NAME']; - } +function standard_form_install_configure_form_alter(&$form, $form_state) { + // Pre-populate the site name with the server name. + $form['site_information']['site_name']['#default_value'] = $_SERVER['SERVER_NAME']; } -- cgit v1.2.3