From: Steve Sutton Date: Tue, 1 May 2018 17:34:12 +0000 (-0400) Subject: Hide contacts that are access (not display) X-Git-Tag: v1.1.12^2~29 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=39b1105d4b6b6c5946da200c66266a1b4b963286;p=WP-Plugins%2Fglm-member-db-contacts.git Hide contacts that are access (not display) If access of contact is 35 45 10 or 90 don't display. --- diff --git a/models/front/contacts/list.php b/models/front/contacts/list.php index 9526280..53aa077 100644 --- a/models/front/contacts/list.php +++ b/models/front/contacts/list.php @@ -181,7 +181,7 @@ class GlmMembersFront_contacts_list extends GlmDataContacts $memberName = $memberData['name']; } - $where = ' TRUE '; + $where = ' access NOT IN ( 35, 45, 10, 90 ) '; // Filter by selected county if (isset($_REQUEST['countySearch'])) {