From 8d89e60ea34c8510d976db80998f479de69ed75b Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 18 May 2017 14:26:29 -0400 Subject: [PATCH] Bug fix for icalfeed When generating feed it was not checking for the 4th week correctly. --- index.php | 6 +++--- models/front/events/icalFeed.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/index.php b/index.php index af7b7fd..51f79ac 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.38 + * Version: 1.6.39 * 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.38 + * @version 1.6.39 */ /* @@ -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.38'); +define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.6.39'); 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/icalFeed.php b/models/front/events/icalFeed.php index e1e17d0..0458f29 100644 --- a/models/front/events/icalFeed.php +++ b/models/front/events/icalFeed.php @@ -242,7 +242,7 @@ EOD; case 'Third': $weeksOfMonth[] = '3'; break; - case 'Forth': + case 'Fourth': $weeksOfMonth[] = '4'; break; case 'Fifth': -- 2.17.1