From: Steve Sutton Date: Thu, 16 Jun 2016 14:27:23 +0000 (-0400) Subject: Made the admin contact for edit event not required X-Git-Tag: v1.2.2^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=791b0bd4fe35e2dfc562973ed027f5e4d4d87d0f;p=WP-Plugins%2Fglm-member-db-events.git Made the admin contact for edit event not required We will need to put in the logic to detect if a member is editing the event and require the fields there. --- diff --git a/classes/data/dataEvents.php b/classes/data/dataEvents.php index f21289f..ae2f51d 100644 --- a/classes/data/dataEvents.php +++ b/classes/data/dataEvents.php @@ -418,7 +418,7 @@ class GlmDataEvents extends GlmDataAbstract 'admin_name' => array ( 'field' => 'admin_name', 'type' => 'text', - 'required' => true, + 'required' => false, 'use' => 'a' ), @@ -433,7 +433,7 @@ class GlmDataEvents extends GlmDataAbstract 'admin_email' => array ( 'field' => 'admin_email', 'type' => 'text', - 'required' => true, + 'required' => false, 'use' => 'a' ), @@ -441,7 +441,7 @@ class GlmDataEvents extends GlmDataAbstract 'admin_phone' => array ( 'field' => 'admin_phone', 'type' => 'text', - 'required' => true, + 'required' => false, 'use' => 'a' ), diff --git a/index.php b/index.php index 7b80fa1..2912d8e 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.2.1 + * Version: 1.2.2 * 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.2.1 + * @version 1.2.2 */ /* @@ -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.2.1'); +define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.2.2'); 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.