From: Steve Sutton Date: Wed, 22 Jun 2016 17:59:00 +0000 (-0400) Subject: Bring in Chuck's change for correcting the member on add event. X-Git-Tag: v1.2.10^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=a226515079323ee7fb371b8eb2cffc6ce0be5f69;p=WP-Plugins%2Fglm-member-db-events.git Bring in Chuck's change for correcting the member on add event. 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. --- diff --git a/classes/data/dataEvents.php b/classes/data/dataEvents.php index ae2f51d..c6d43ce 100644 --- a/classes/data/dataEvents.php +++ b/classes/data/dataEvents.php @@ -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 diff --git a/index.php b/index.php index 836b563..a822126 100644 --- 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 * @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.