projects
/
WP-Plugins
/
glm-member-db.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea00a74
)
Added !is_admin() check where making sure a non admin and non-members manager can...
author
Chuck Scott
<cscott@gaslightmedia.com>
Thu, 7 Dec 2017 17:49:59 +0000
(12:49 -0500)
committer
Chuck Scott
<cscott@gaslightmedia.com>
Thu, 7 Dec 2017 17:49:59 +0000
(12:49 -0500)
models/admin/member/index.php
patch
|
blob
|
history
diff --git
a/models/admin/member/index.php
b/models/admin/member/index.php
index
5063861
..
a9eae2f
100644
(file)
--- a/
models/admin/member/index.php
+++ b/
models/admin/member/index.php
@@
-123,7
+123,7
@@
class GlmMembersAdmin_member_index extends GlmDataMembers
$memberID = $lockedToMember;
// Next make darn't sure they are admin or members manager before checking for other member ID.
- } elseif (!apply_filters('glm_members_menu_members', false)) {
+ } elseif (!apply_filters('glm_members_menu_members', false)
&& !is_admin()
) {
wp_die('There has been a member access check failure. Please call for support.');