- Patch #98063 by jhm: user_admin_access_form ignores the default value for access type.
parent
b004f328ee
commit
837bacfaaf
|
@ -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'));
|
||||
|
|
Loading…
Reference in New Issue