Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
837bacfa
Commit
837bacfa
authored
Nov 21, 2006
by
Dries
Browse files
- Patch
#98063
by jhm: user_admin_access_form ignores the default value for access type.
parent
b004f328
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/user/user.module
View file @
837bacfa
...
...
@@ -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'
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment