From 31bd8c68db6d201e94a10284238a56ec0ff4defc Mon Sep 17 00:00:00 2001 From: Chuck Scott Date: Tue, 16 Feb 2016 10:28:23 -0500 Subject: [PATCH] Updates to work with new member db tables --- models/admin/member/contacts.php | 4 ++++ views/admin/member/contacts.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/models/admin/member/contacts.php b/models/admin/member/contacts.php index d98f99f..eb49c3b 100644 --- a/models/admin/member/contacts.php +++ b/models/admin/member/contacts.php @@ -428,6 +428,10 @@ class GlmMembersAdmin_member_contacts extends GlmDataContacts } + // Also save the mmeber ID in a WordPress "option" in case someone clicks the "Member" sub-menu + update_option('glmMembersDatabaseMemberID', $this->memberID); + + } // if haveMember diff --git a/views/admin/member/contacts.html b/views/admin/member/contacts.html index f1550ce..dbd58e9 100644 --- a/views/admin/member/contacts.html +++ b/views/admin/member/contacts.html @@ -471,7 +471,7 @@

* Required

- + {/if} -- 2.17.1