Commit 66729897 authored by Gerhard Killesreiter's avatar Gerhard Killesreiter

#54066, make site_name required. patch by Freso

parent 4a689a99
......@@ -239,7 +239,7 @@ function system_view_general() {
);
$form['general']['site_name'] = array(
'#type' => 'textfield', '#title' => t('Name'), '#default_value' => variable_get('site_name', 'drupal'),
'#description' => t('The name of this web site.')
'#description' => t('The name of this web site.'), '#required' => TRUE
);
$form['general']['site_mail'] = array(
'#type' => 'textfield', '#title' => t('E-mail address'), '#default_value' => variable_get('site_mail', ini_get('sendmail_from')),
......
......@@ -239,7 +239,7 @@ function system_view_general() {
);
$form['general']['site_name'] = array(
'#type' => 'textfield', '#title' => t('Name'), '#default_value' => variable_get('site_name', 'drupal'),
'#description' => t('The name of this web site.')
'#description' => t('The name of this web site.'), '#required' => TRUE
);
$form['general']['site_mail'] = array(
'#type' => 'textfield', '#title' => t('E-mail address'), '#default_value' => variable_get('site_mail', ini_get('sendmail_from')),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment