- 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(
|
$form['status'] = array(
|
||||||
'#type' => 'radios',
|
'#type' => 'radios',
|
||||||
'#title' => t('Access type'),
|
'#title' => t('Access type'),
|
||||||
'#default_value' => 0,
|
'#default_value' => $edit['status'],
|
||||||
'#options' => array('1' => t('Allow'), '0' => t('Deny')),
|
'#options' => array('1' => t('Allow'), '0' => t('Deny')),
|
||||||
);
|
);
|
||||||
$type_options = array('user' => t('Username'), 'mail' => t('E-mail'), 'host' => t('Host'));
|
$type_options = array('user' => t('Username'), 'mail' => t('E-mail'), 'host' => t('Host'));
|
||||||
|
|
Loading…
Reference in New Issue