Default ref_type to 10 for now, always
authorLaury GvR <laury@gaslightmedia.com>
Tue, 21 Jun 2016 15:38:31 +0000 (11:38 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 21 Jun 2016 15:38:31 +0000 (11:38 -0400)
models/admin/management/events.php

index f84a737..4ed0640 100644 (file)
@@ -740,7 +740,8 @@ class GlmMembersAdmin_management_events extends GlmDataEventsManagement
                         'cost'            => $event['cost'],
                         'url'            => $event['url'],
                         'old_event_id'    => $event['id'],
-                        'ref_type'        => $refType,
+//                        'ref_type'        => $refType,
+                        'ref_type'        => 10,
                         'ref_dest'        => $found_member_id,
                         'admin_name'    => $event['admin_contact_name'],
                         'admin_org'        => $event['admin_org_name'],
@@ -806,7 +807,8 @@ class GlmMembersAdmin_management_events extends GlmDataEventsManagement
                         'cost'                  => $event['cost'],
                         'url'                  => $event['website'],
                         'old_event_id'          => $event['id'],
-                        'ref_type'              => $refType,
+//                        'ref_type'              => $refType,
+                        'ref_type'              => 10,
                         'ref_dest'              => $found_member_id,
                         'admin_name'          => $event['admin_contact'],
                         'admin_org'              => $event['admin_org'],
@@ -1148,7 +1150,8 @@ class GlmMembersAdmin_management_events extends GlmDataEventsManagement
                     'free'                   => $is_free,
                     'url'                    => $event_data['contact_url'],
                     'old_event_id'           => $post['ID'],
-                    'ref_type'               => null,
+//                    'ref_type'               => null,
+                    'ref_type'               => 10,
                     'ref_dest'               => null,
                     'admin_name'             => $event_data['contact_name'],
                     'admin_org'              => null,