diff --git a/modules/user/user.module b/modules/user/user.module index 3082ce3a4b6..5c598bcf5eb 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -2062,7 +2062,7 @@ function user_admin_access_form(&$form_state, $edit, $submit) { $form['status'] = array( '#type' => 'radios', '#title' => t('Access type'), - '#default_value' => isset($edit['status']) ? $edit['status'] : array(), + '#default_value' => isset($edit['status']) ? $edit['status'] : 0, '#options' => array('1' => t('Allow'), '0' => t('Deny')), ); $type_options = array('user' => t('Username'), 'mail' => t('E-mail'), 'host' => t('Host'));