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
9ce45873
Commit
9ce45873
authored
Sep 08, 2006
by
Neil Drumm
Browse files
#82859
by RobRoy. Fix an uninitialized variable.
parent
1f9b94dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/user/user.module
View file @
9ce45873
...
...
@@ -2407,6 +2407,7 @@ function user_build_filter_query() {
// This checks to see if this permission filter is an enabled permission for the authenticated role.
// If so, then all users would be listed, and we can skip adding it to the filter query.
if
(
$key
==
'permission'
)
{
$account
=
new
StdClass
();
$account
->
uid
=
'user_filter'
;
$account
->
roles
=
array
(
DRUPAL_AUTHENTICATED_RID
=>
1
);
if
(
user_access
(
$value
,
$account
))
{
...
...
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