diff --git a/booking.regn_form.inc b/booking.regn_form.inc index 3264dde..44f5c77 100644 --- a/booking.regn_form.inc +++ b/booking.regn_form.inc @@ -942,6 +942,7 @@ function booking_earlyaccess_feedback_callback($form, &$form_state) { global $event; $node = $form_state['values']['form_id']; $data = $form_state['input']; + watchdog('booking', '
booking_earlyaccess_feedback_callback validation:\n@info
', array('@info' => print_r( $data, true))); //if necessary, validate early access code if (variable_get('booking_enable_earlyaccess_codes', 0) == 1 && (isset($data['booking_earlyaccess']) && $data['booking_earlyaccess'] == 1)) { @@ -964,6 +965,7 @@ function booking_earlyaccess_feedback_callback($form, &$form_state) { return '
Your early registration code has been validated.
'; } } + //no access code entered but we required one else { return '
You must enter an early access code to register now. If you do not have a code, please wait until normal registrations open.
'; }