Commit 837bacfa authored by Dries's avatar Dries

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

parent b004f328
......@@ -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'));
......
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