Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
727304d0
Commit
727304d0
authored
Jun 12, 2007
by
Dries Buytaert
Browse files
- Patch
#151270
by moshe: fixed braino.
parent
6913d233
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/user/user.module
View file @
727304d0
...
...
@@ -746,7 +746,7 @@ function user_view_access($account) {
}
function
user_edit_access
(
$account
)
{
return
(
$GLOBALS
[
'user'
]
->
uid
==
$account
->
uid
)
||
array
(
'administer users'
);
return
(
$GLOBALS
[
'user'
]
->
uid
==
$account
->
uid
)
||
user_access
(
'administer users'
);
}
function
user_load_self
(
$arg
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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