user-access-manager-new fix
Signed-off-by: Jeff <jeff@gotenzing.com>
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -92,7 +92,7 @@ class UserSearch implements ArrayAccess, Iterator, Countable { | ... | @@ -92,7 +92,7 @@ class UserSearch implements ArrayAccess, Iterator, Countable { |
| 92 | } | 92 | } |
| 93 | 93 | ||
| 94 | // Groups | 94 | // Groups |
| 95 | if (is_array($in_groups) && count($in_groups) > 0 && is_plugin_active('tz-user-access-manager/user-access-manager.php')) { | 95 | if (is_array($in_groups) && count($in_groups) > 0 && is_plugin_active('user-access-manager-new/user-access-manager.php')) { |
| 96 | $uam_join = " LEFT JOIN `wp_uam_accessgroup_to_object` AS `uam` ON `wp_usermeta`.`user_id` = `uam`.`object_id` "; | 96 | $uam_join = " LEFT JOIN `wp_uam_accessgroup_to_object` AS `uam` ON `wp_usermeta`.`user_id` = `uam`.`object_id` "; |
| 97 | $uam_clause = " AND `uam`.`object_type` = 'user' AND `uam`.`group_id` IN (" . implode(',', $in_groups) . ") "; | 97 | $uam_clause = " AND `uam`.`object_type` = 'user' AND `uam`.`group_id` IN (" . implode(',', $in_groups) . ") "; |
| 98 | } | 98 | } | ... | ... |
-
Please register or sign in to post a comment