From: Steve Sutton Date: Tue, 5 Sep 2017 12:41:03 +0000 (-0400) Subject: Setup the default for boolean fields to null X-Git-Tag: v1.1.1^2~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=e2782558f0560413248d5a47bfc866de3fe96b4a;p=WP-Plugins%2Fglm-member-db-leads.git Setup the default for boolean fields to null This will correctly setup the mailOK and memberOK dropdowns. --- diff --git a/models/admin/leads/index.php b/models/admin/leads/index.php index 62257f0..715831a 100644 --- a/models/admin/leads/index.php +++ b/models/admin/leads/index.php @@ -381,8 +381,8 @@ class GlmMembersAdmin_leads_index extends GlmDataLeadEntry } else { $leads = ''; $search_params = array( - 'mail_ok' => 0, - 'member_ok' => 0, + 'mail_ok' => null, + 'member_ok' => null, 'company' => '', 'contact' => '', 'from_date' => '',