Bug fix for icalfeed
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 18 May 2017 18:26:29 +0000 (14:26 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 18 May 2017 18:26:29 +0000 (14:26 -0400)
When generating feed it was not checking for the 4th week correctly.

index.php
models/front/events/icalFeed.php

index af7b7fd..51f79ac 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.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 <cscott@gaslightmedia.com>
  * @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.
index e1e17d0..0458f29 100644 (file)
@@ -242,7 +242,7 @@ EOD;
                     case 'Third':
                         $weeksOfMonth[] = '3';
                         break;
-                    case 'Forth':
+                    case 'Fourth':
                         $weeksOfMonth[] = '4';
                         break;
                     case 'Fifth':