projects
/
WP-Plugins
/
glm-member-db-billing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
835ceb8
)
Update for locked to member restriction
author
Steve Sutton
<steve@gaslightmedia.com>
Wed, 30 May 2018 17:22:36 +0000
(13:22 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Wed, 30 May 2018 17:22:36 +0000
(13:22 -0400)
restrict access for correct member if lockedToMember exists.
models/admin/member/billing.php
patch
|
blob
|
history
diff --git
a/models/admin/member/billing.php
b/models/admin/member/billing.php
index
efe8131
..
3bc14a0
100644
(file)
--- a/
models/admin/member/billing.php
+++ b/
models/admin/member/billing.php
@@
-158,7
+158,7
@@
class GlmMembersAdmin_member_billing // extends GlmDataBilling
$lockedWhere .= ' AND ';
}
- if ( defined( 'GLM_MEMBERS_BILLING_MEMBER_MENU' ) && GLM_MEMBERS_BILLING_MEMBER_MENU ) {
+ if ( defined( 'GLM_MEMBERS_BILLING_MEMBER_MENU' ) && GLM_MEMBERS_BILLING_MEMBER_MENU
&& !$lockedToMember
) {
$fromMemberMenu = true;
if ( isset( $_REQUEST['member'] ) ) {