Update for Harbor Country
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 11 Jul 2018 15:41:51 +0000 (11:41 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 11 Jul 2018 15:41:51 +0000 (11:41 -0400)
different field id for contact form zip

models/admin/management/leads.php

index 2b87d12..4fe3ac3 100644 (file)
@@ -211,7 +211,8 @@ class GlmMembersAdmin_management_leads // extends GlmDataLeadsManagement
                     foreach ( $entries as $entry ) {
                         // Update the zip for lead_entry with this entry id
                         // For MAVB the zip fields for both contact and visitor guide form is 4.5
-                        $zip         = $entry['4.5'];
+                        // $zip         = $entry['4.5']; // Mackinawcity
+                        $zip         = $entry['2.5']; // Harbor Country
                         $gf_entry_id = $entry['id'];
                         // echo '<pre>$zip: ' . print_r( $zip, true ) . '</pre>';
                         $this->wpdb->update(