From 82b5a5089b5634b22957c46d0e31befe20e6eacd Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 3 May 2018 16:40:09 -0400 Subject: [PATCH] Update for check member show array of non displayed ones. --- models/admin/migcsa/index.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/models/admin/migcsa/index.php b/models/admin/migcsa/index.php index 210c762..a5a6cbf 100644 --- a/models/admin/migcsa/index.php +++ b/models/admin/migcsa/index.php @@ -205,6 +205,7 @@ class GlmMembersAdmin_migcsa_index public function checkMembers() { + $ups = array(); // Get a list of pending or active members $accounts = $this->wpdb->get_results( "SELECT id,ref_dest,renewal_date @@ -222,9 +223,13 @@ class GlmMembersAdmin_migcsa_index $account['ref_dest'] ) ); - echo '
$access: ' . print_r( $access, true ) . '
'; + if ( $access == 35 ) { + $ups[] = $account['id']; + } + //echo '
$account: ' . print_r( $account, true ) . '
'; + //echo '
$access: ' . print_r( $access, true ) . '
'; } - return 'test';//'
$accounts: ' . print_r( $accounts, true ) . '
'; + return '
$ups: ' . print_r( $ups, true ) . '
'; } public function updateCustomFieldEmails() -- 2.17.1