diff --git a/booking.regn_form.inc b/booking.regn_form.inc index 7f9f084..44e2d86 100644 --- a/booking.regn_form.inc +++ b/booking.regn_form.inc @@ -958,13 +958,15 @@ function booking_earlyaccess_feedback_callback($form, &$form_state) { ':eid' => $event->eid, ) )->fetchObject(); - watchdog('booking', '
booking_earlyaccess_feedback_callback code check:\n@info
', array('@info' => print_r( $code_check, true))); + watchdog('booking', "
booking_earlyaccess_feedback_callback code check:\n@info
", array('@info' => print_r( $code_check, true))); //no matching code found so return an error if (! $code_check) { + watchdog('booking', "
booking_earlyaccess_feedback_callback code check did not pass!
"); return '
You have entered an invalid early registration code. If you do not have a code, please wait until normal registrations open.
'; } //matched a code so let the user know everything is fine else { + watchdog('booking', "
booking_earlyaccess_feedback_callback code check matched
"); return '
Your early registration code has been validated.
'; } }