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:
b183491
)
Bug fix for gravityform initial import.
author
Steve Sutton
<steve@gaslightmedia.com>
Wed, 27 Jul 2016 18:38:38 +0000
(14:38 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Wed, 27 Jul 2016 18:38:38 +0000
(14:38 -0400)
When adding the intersts table had to adjust the insert statement
because I moved the gf_field_id from here into new table.
models/admin/management/leads.php
patch
|
blob
|
history
diff --git
a/models/admin/management/leads.php
b/models/admin/management/leads.php
index
2ef4086
..
cf2150b
100644
(file)
--- a/
models/admin/management/leads.php
+++ b/
models/admin/management/leads.php
@@
-419,10
+419,9
@@
class GlmMembersAdmin_management_leads // extends GlmDataLeadsManagement
GLM_MEMBERS_LEADS_PLUGIN_DB_PREFIX . 'interests',
array(
'title' => $name,
- 'group_id' => $group_id,
- 'gf_field_id' => $gf_field_id
+ 'group_id' => $group_id
),
- array( '%s', '%d'
, '%s'
)
+ array( '%s', '%d' )
);
$interest_id = $this->wpdb->insert_id;
// add the record for the gf_field_id