Bring in Chuck's change for correcting the member on add event.
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 22 Jun 2016 17:59:00 +0000 (13:59 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 22 Jun 2016 17:59:00 +0000 (13:59 -0400)
Chuck had put updates for this into only the develop.
Needed on live site because the client is adding new events for members
and they don't hold the member.

classes/data/dataEvents.php
index.php

index ae2f51d..c6d43ce 100644 (file)
@@ -191,7 +191,7 @@ class GlmDataEvents extends GlmDataAbstract
                 'field' => 'ref_type',
                 'type' => 'list',
                     'list' => $this->config['ref_type'],
-                'use' => 'lged'
+                'use' => 'a'
             ),
 
             // Ref_name (member name - need to update this to be Reference Type aware)
@@ -210,7 +210,7 @@ class GlmDataEvents extends GlmDataAbstract
                 'field' => 'ref_dest',
                 'as' => 'ref_dest_id',
                 'type' => 'integer',
-                'use' => 'ilged'
+                'use' => 'lged'
             ),
 
             // Hide Address flag
index 836b563..a822126 100644 (file)
--- a/index.php
+++ b/index.php
@@ -3,7 +3,7 @@
  * Plugin Name: GLM Members Database Events
  * Plugin URI: http://www.gaslightmedia.com/
  * Description: Gaslight Media Members Database.
- * Version: 1.2.7
+ * Version: 1.2.10
  * Author: Chuck Scott
  * Author URI: http://www.gaslightmedia.com/
  * License: GPL2
@@ -20,7 +20,7 @@
  * @package glmMembersDatabaseEventsAddOn
  * @author Chuck Scott <cscott@gaslightmedia.com>
  * @license http://www.gaslightmedia.com Gaslightmedia
- * @version 1.2.7
+ * @version 1.2.10
  */
 
 /*
@@ -38,7 +38,7 @@
  *  so that we're sure the other add-ons see an up to date
  *  version from this plugin.
  */
-define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.2.7');
+define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.2.10');
 define('GLM_MEMBERS_EVENTS_PLUGIN_DB_VERSION', '0.0.18');
 
 // This is the minimum version of the GLM Members DB plugin require for this plugin.