From 837bacfaaff36c136b5958282675d70f351fa3dd Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 21 Nov 2006 20:25:24 +0000 Subject: - Patch #98063 by jhm: user_admin_access_form ignores the default value for access type. --- modules/user/user.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/user/user.module') 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')); -- cgit v1.2.3