projects
/
WP-Plugins
/
glm-member-db-leads.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69e1135
)
Setup the default for boolean fields to null
author
Steve Sutton
<steve@gaslightmedia.com>
Tue, 5 Sep 2017 12:41:03 +0000
(08:41 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Tue, 5 Sep 2017 12:41:03 +0000
(08:41 -0400)
This will correctly setup the mailOK and memberOK dropdowns.
models/admin/leads/index.php
patch
|
blob
|
history
diff --git
a/models/admin/leads/index.php
b/models/admin/leads/index.php
index
62257f0
..
715831a
100644
(file)
--- 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' => '',