* Plugin Name: GLM Members Database Events
* Plugin URI: http://www.gaslightmedia.com/
* Description: Gaslight Media Members Database.
- * Version: 1.2.0
+ * Version: 1.2.1
* Author: Chuck Scott
* Author URI: http://www.gaslightmedia.com/
* License: GPL2
* @package glmMembersDatabaseEventsAddOn
* @author Chuck Scott <cscott@gaslightmedia.com>
* @license http://www.gaslightmedia.com Gaslightmedia
- * @version 1.2.0
+ * @version 1.2.1
*/
/*
* 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.0');
+define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.2.1');
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.
break;
}
}
- $eventDates .= ' (' . implode(', ', $daysOfWeek) . ')';
+ if ( count( $daysOfWeek ) < 7 ) {
+ $eventDates .= ' (' . implode(', ', $daysOfWeek) . ')';
+ }
}
}
if ( !$event['all_day'] ) {
}
}
$dates->setText($eventDates);
+ $dates->setWidth(220);
$lineCount = $dates->getLineCount();
$dates->draw($page->getCanvas(), self::PDF_LFT_COL_X, $pdfY);