diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-11-21 20:25:24 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-11-21 20:25:24 +0000 |
commit | 837bacfaaff36c136b5958282675d70f351fa3dd (patch) | |
tree | 41db69ad1e941f52c6880885ed61eac6d14ca406 /modules/user/user.module | |
parent | b004f328eec10308fe3b310c640d5f376241f4cd (diff) | |
download | brdo-837bacfaaff36c136b5958282675d70f351fa3dd.tar.gz brdo-837bacfaaff36c136b5958282675d70f351fa3dd.tar.bz2 |
- Patch #98063 by jhm: user_admin_access_form ignores the default value for access type.
Diffstat (limited to 'modules/user/user.module')
-rw-r--r-- | modules/user/user.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.module b/modules/user/user.module index e9fd3bed7..9594729e4 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -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')); |