From: Steve Sutton Date: Thu, 8 Jun 2017 19:12:37 +0000 (-0400) Subject: Fix for icalfeed import name and email X-Git-Tag: v1.6.45^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=4289b6eff76bf85f15e229a696a0b922c107cbc3;p=WP-Plugins%2Fglm-member-db-events.git Fix for icalfeed import name and email name and email for contact reversed. --- diff --git a/index.php b/index.php index 381c36e..8e41343 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.6.44 + * Version: 1.6.45 * 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.6.44 + * @version 1.6.45 */ /* @@ -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.6.44'); +define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.6.45'); define('GLM_MEMBERS_EVENTS_PLUGIN_DB_VERSION', '0.1.2'); // This is the minimum version of the GLM Members DB plugin require for this plugin. diff --git a/models/front/events/icalFeedImport.php b/models/front/events/icalFeedImport.php index 82435dd..927f010 100644 --- a/models/front/events/icalFeedImport.php +++ b/models/front/events/icalFeedImport.php @@ -217,8 +217,8 @@ class GlmMembersFront_events_icalFeedImport 'descr' => $event['DESCRIPTION'], 'image' => $image, 'url' => ( isset( $event['URL'] ) ? $event['URL']: '' ), - 'contact_email' => $contact['name'], - 'contact_name' => $contact['email'], + 'contact_email' => $contact['email'], + 'contact_name' => $contact['name'], 'contact_phone' => $contact['phone'], ); if ( $debug ) { diff --git a/readme.txt b/readme.txt index 466c612..11a369d 100644 --- a/readme.txt +++ b/readme.txt @@ -26,6 +26,10 @@ e.g. == Changelog == += 1.6.45 = + +* Fix ical import for email and contact name. + = 1.6.44 = * Fix for icalFeedImport script to check for events with the start/end date