From d51435c5a8a3a51e3832472519ec214e4758819c Mon Sep 17 00:00:00 2001 From: Chuck Scott Date: Fri, 26 Jan 2018 16:08:05 -0500 Subject: [PATCH] Fixed a number of occurances if an accidental second letter capitalized --- classes/data/dataRegEvent.php | 6 ++---- models/admin/ajax/regAdmin/regClasses.php | 2 +- models/admin/ajax/regFront/DELETE_regRequestEvent.php | 2 +- models/admin/ajax/regFront/account.php | 2 +- models/admin/ajax/regFront/registrant.php | 2 +- models/admin/ajax/regFront/request.php | 2 +- models/admin/registrations/accounts.php | 2 +- models/admin/registrations/events.php | 2 +- models/admin/registrations/reports.php | 2 +- models/admin/registrations/requests.php | 8 ++++---- models/front/registrations/cart.php | 2 +- models/front/registrations/list.php | 2 +- 12 files changed, 16 insertions(+), 18 deletions(-) diff --git a/classes/data/dataRegEvent.php b/classes/data/dataRegEvent.php index 914843b..e4109f2 100644 --- a/classes/data/dataRegEvent.php +++ b/classes/data/dataRegEvent.php @@ -988,15 +988,13 @@ class GlmDataRegistrationsRegEvent extends GlmDataAbstract * The getEventConfig() method must have been called first or a reg_event ID must be passed so that we have all of the needed event data. * * @param integer $regEventId Optional ID of a reg event record. If provided, load all registration data using getEventConfig() above - * This is not required if the event data has already been loaded using getEVentConfig() by the calling code + * This is not required if the event data has already been loaded using getEventConfig() by the calling code * * @return array updated reg_times data or false if not regEventData has been provided or no recurrence data */ public function checkEventTimes($regEventId = false ) { -echo "

checkEventTimes()

"; - $needTimesReloaded = false; $message = ''; @@ -1039,7 +1037,7 @@ echo "

checkEventTimes()

"; if (!$id) { $needTimesReloaded = true; -echo "

**** TIME ADDED ****

"; + // Add reg event time $this->wpdb->insert( GLM_MEMBERS_REGISTRATIONS_PLUGIN_DB_PREFIX."reg_time", diff --git a/models/admin/ajax/regAdmin/regClasses.php b/models/admin/ajax/regAdmin/regClasses.php index 4c19702..ed288b2 100644 --- a/models/admin/ajax/regAdmin/regClasses.php +++ b/models/admin/ajax/regAdmin/regClasses.php @@ -69,7 +69,7 @@ class GlmMembersAdmin_registrations_ajax_regClasses extends GlmDataRegistrations $this->config = $config; /* - * Run constructor for the REgistrations data class + * Run constructor for the Registrations data class * * Note, the third parameter is a flag that indicates to the Contacts * data class that it should flag a group of fields as 'view_only'. diff --git a/models/admin/ajax/regFront/DELETE_regRequestEvent.php b/models/admin/ajax/regFront/DELETE_regRequestEvent.php index ee3579d..8bb41a5 100644 --- a/models/admin/ajax/regFront/DELETE_regRequestEvent.php +++ b/models/admin/ajax/regFront/DELETE_regRequestEvent.php @@ -69,7 +69,7 @@ class GlmMembersAdmin_registrations_ajax_regClasses extends GlmDataRegistrations $this->config = $config; /* - * Run constructor for the REgistrations data class + * Run constructor for the Registrations data class * * Note, the third parameter is a flag that indicates to the Contacts * data class that it should flag a group of fields as 'view_only'. diff --git a/models/admin/ajax/regFront/account.php b/models/admin/ajax/regFront/account.php index 8b47b00..efdf023 100644 --- a/models/admin/ajax/regFront/account.php +++ b/models/admin/ajax/regFront/account.php @@ -69,7 +69,7 @@ class GlmMembersAdmin_registrations_ajax_account extends GlmDataRegistrationsReg $this->config = $config; /* - * Run constructor for the REgistrations data class + * Run constructor for the Registrations data class * * Note, the third parameter is a flag that indicates to the Contacts * data class that it should flag a group of fields as 'view_only'. diff --git a/models/admin/ajax/regFront/registrant.php b/models/admin/ajax/regFront/registrant.php index 1cad1d0..132cb4f 100644 --- a/models/admin/ajax/regFront/registrant.php +++ b/models/admin/ajax/regFront/registrant.php @@ -69,7 +69,7 @@ class GlmMembersAdmin_registrations_ajax_registrant extends GlmDataRegistrations $this->config = $config; /* - * Run constructor for the REgistrations data class + * Run constructor for the Registrations data class * * Note, the third parameter is a flag that indicates to the Contacts * data class that it should flag a group of fields as 'view_only'. diff --git a/models/admin/ajax/regFront/request.php b/models/admin/ajax/regFront/request.php index 80f8530..5d0ee82 100644 --- a/models/admin/ajax/regFront/request.php +++ b/models/admin/ajax/regFront/request.php @@ -69,7 +69,7 @@ class GlmMembersAdmin_registrations_ajax_request extends GlmDataRegistrationsReg $this->config = $config; /* - * Run constructor for the REgistrations data class + * Run constructor for the Registrations data class * * Note, the third parameter is a flag that indicates to the Contacts * data class that it should flag a group of fields as 'view_only'. diff --git a/models/admin/registrations/accounts.php b/models/admin/registrations/accounts.php index 6433ce0..ebd295c 100644 --- a/models/admin/registrations/accounts.php +++ b/models/admin/registrations/accounts.php @@ -76,7 +76,7 @@ class GlmMembersAdmin_registrations_accounts extends GlmDataRegistrationsAccount $this->config = $config; /* - * Run constructor for the REgistrations data class + * Run constructor for the Registrations data class * * Note, the third parameter is a flag that indicates to the Contacts * data class that it should flag a group of fields as 'view_only'. diff --git a/models/admin/registrations/events.php b/models/admin/registrations/events.php index c6e381f..8af4e26 100644 --- a/models/admin/registrations/events.php +++ b/models/admin/registrations/events.php @@ -69,7 +69,7 @@ class GlmMembersAdmin_registrations_events extends GlmDataRegistrationsRegEvent $this->config = $config; /* - * Run constructor for the REgistrations data class + * Run constructor for the Registrations data class */ parent::__construct(false, false, true); diff --git a/models/admin/registrations/reports.php b/models/admin/registrations/reports.php index 2ca14b0..c54e5bf 100644 --- a/models/admin/registrations/reports.php +++ b/models/admin/registrations/reports.php @@ -73,7 +73,7 @@ class GlmMembersAdmin_registrations_reports $this->config = $config; /* - * Run constructor for the REgistrations data class + * Run constructor for the Registrations data class * * Note, the third parameter is a flag that indicates to the Contacts * data class that it should flag a group of fields as 'view_only'. diff --git a/models/admin/registrations/requests.php b/models/admin/registrations/requests.php index fa1569a..4bc1f75 100644 --- a/models/admin/registrations/requests.php +++ b/models/admin/registrations/requests.php @@ -69,7 +69,7 @@ class GlmMembersAdmin_registrations_requests extends GlmDataRegistrationsRegRequ $this->config = $config; /* - * Run constructor for the REgistrations data class + * Run constructor for the Registrations data class * * Note, the third parameter is a flag that indicates to the Contacts * data class that it should flag a group of fields as 'view_only'. @@ -93,14 +93,14 @@ class GlmMembersAdmin_registrations_requests extends GlmDataRegistrationsRegRequ // Load registrations support class require_once GLM_MEMBERS_REGISTRATIONS_PLUGIN_CLASS_PATH.'/regCartSupport.php'; $regCartSupport = new GlmRegCartSupport($this->wpdb, $this->config); - + wp_enqueue_style( 'foundation', GLM_MEMBERS_REGISTRATIONS_PLUGIN_BASE_URL . '/css/foundation.css', null, '1.0' ); - + /* Test data */ @@ -205,7 +205,7 @@ class GlmMembersAdmin_registrations_requests extends GlmDataRegistrationsRegRequ } // echo "
".print_r($cart,1)."
"; - + // Compile template data $templateData = array( 'haveRequests' => $haveRequests, diff --git a/models/front/registrations/cart.php b/models/front/registrations/cart.php index c80041b..e125d29 100644 --- a/models/front/registrations/cart.php +++ b/models/front/registrations/cart.php @@ -67,7 +67,7 @@ class GlmMembersFront_registrations_cart extends GlmRegCartSupport $this->config = $config; /* - * Run constructor for the REgistrations data class + * Run constructor for the Registrations data class * * Note, the third parameter is a flag that indicates to the Contacts * data class that it should flag a group of fields as 'view_only'. diff --git a/models/front/registrations/list.php b/models/front/registrations/list.php index 3339429..33b4d81 100644 --- a/models/front/registrations/list.php +++ b/models/front/registrations/list.php @@ -27,7 +27,7 @@ $this->config = $config; /* - * Run constructor for the REgistrations data class + * Run constructor for the Registrations data class * * Note, the third parameter is a flag that indicates to the Contacts * data class that it should flag a group of fields as 'view_only'. -- 2.17.1