Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
Tz Tools
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
b1d519b4
authored
2024-03-08 12:43:48 -0500
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
user-access-manager-new fix
Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent
210f28ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
lib/UserSearch.php
lib/UserSearch.php
View file @
b1d519b
...
...
@@ -92,7 +92,7 @@ class UserSearch implements ArrayAccess, Iterator, Countable {
}
// Groups
if
(
is_array
(
$in_groups
)
&&
count
(
$in_groups
)
>
0
&&
is_plugin_active
(
'
tz-user-access-manager
/user-access-manager.php'
))
{
if
(
is_array
(
$in_groups
)
&&
count
(
$in_groups
)
>
0
&&
is_plugin_active
(
'
user-access-manager-new
/user-access-manager.php'
))
{
$uam_join
=
" LEFT JOIN `wp_uam_accessgroup_to_object` AS `uam` ON `wp_usermeta`.`user_id` = `uam`.`object_id` "
;
$uam_clause
=
" AND `uam`.`object_type` = 'user' AND `uam`.`group_id` IN ("
.
implode
(
','
,
$in_groups
)
.
") "
;
}
...
...
Please
register
or
sign in
to post a comment