From: Steve Sutton Date: Fri, 1 Sep 2017 17:22:13 +0000 (-0400) Subject: Update for php error X-Git-Tag: v1.6.64^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=030d861bdbe1a7edc1e0fb010a93044942e2700e;p=WP-Plugins%2Fglm-member-db-events.git Update for php error extra ) --- diff --git a/index.php b/index.php index 224d745..fd2e478 100644 --- a/index.php +++ b/index.php @@ -4,7 +4,7 @@ * Plugin URI: http://www.gaslightmedia.com/ * Description: Gaslight Media Members Database. - * Version: 1.6.63 + * Version: 1.6.64 * Author: Chuck Scott * Author URI: http://www.gaslightmedia.com/ @@ -22,7 +22,7 @@ * @author Chuck Scott * @license http://www.gaslightmedia.com Gaslightmedia - * @version 1.6.63 + * @version 1.6.64 */ @@ -47,7 +47,7 @@ if (!defined('ABSPATH')) { * 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.63'); +define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.6.64'); define('GLM_MEMBERS_EVENTS_PLUGIN_DB_VERSION', '0.1.4'); // 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 4b9f33d..d9b832a 100644 --- a/models/front/events/icalFeedImport.php +++ b/models/front/events/icalFeedImport.php @@ -189,7 +189,7 @@ class GlmMembersFront_events_icalFeedImport if ( isset( $event['ATTACH'] ) ) { // See if we already have this image. $img_url = preg_replace( '%FMTTYPE=image/(jpeg|gif|png)[:]|FILENAME=[^:]*[:]%', '', $event['ATTACH'] ); - if ( $img_url && !preg_match( '%drive.google.com%', $img_url )) ) { + if ( $img_url && !preg_match( '%drive.google.com%', $img_url ) ) { if ( $event_id ) { $old_image = $this->wpdb->get_var( $this->wpdb->prepare(