From f85a37c3076a3145aa291439b713e33825adfd83 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 4 Oct 2010 18:00:46 +0000 Subject: - Patch #140783 by sun, chx, effulgentsia, David_Rothstein, webchick: a select list without #default_value() always passes form validation. --- includes/install.core.inc | 1 - 1 file changed, 1 deletion(-) (limited to 'includes/install.core.inc') diff --git a/includes/install.core.inc b/includes/install.core.inc index 9cbfd059c..fcf8812e1 100644 --- a/includes/install.core.inc +++ b/includes/install.core.inc @@ -1759,7 +1759,6 @@ function _install_configure_form($form, &$form_state, &$install_state) { $form['server_settings']['site_default_country'] = array( '#type' => 'select', '#title' => t('Default country'), - '#required' => FALSE, '#default_value' => variable_get('site_default_country', NULL), '#options' => $countries, '#description' => st('Select the default country for the site.'), -- cgit v1.2.3