- Patch #98063 by jhm: user_admin_access_form ignores the default value for access type.

5.x
Dries Buytaert 2006-11-21 20:25:24 +00:00
parent b004f328ee
commit 837bacfaaf
1 changed files with 1 additions and 1 deletions

View File

@ -1684,7 +1684,7 @@ function user_admin_access_form($edit, $submit) {
$form['status'] = array(
'#type' => 'radios',
'#title' => t('Access type'),
'#default_value' => 0,
'#default_value' => $edit['status'],
'#options' => array('1' => t('Allow'), '0' => t('Deny')),
);
$type_options = array('user' => t('Username'), 'mail' => t('E-mail'), 'host' => t('Host'));