This commit is contained in:
Nathan Coad
2018-05-03 08:21:51 +10:00
parent 732b6c63be
commit 558b72e663

View File

@@ -123,7 +123,7 @@ function booking_variety_session_form_callback($form, &$form_state) {
function booking_variety_regn_form_validate($form, &$form_state) { function booking_variety_regn_form_validate($form, &$form_state) {
global $event; global $event;
$values = $form_state['input']; $values = $form_state['input'];
//watchdog('booking_debug', 'booking_variety_regn_form_submit: <pre>@info</pre>', array('@info' => print_r( $form_state, true))); watchdog('booking_debug', 'booking_variety_regn_form_submit: <pre>@info</pre>', array('@info' => print_r( $form_state, true)));
//verify that user-entered data is a number //verify that user-entered data is a number
if (! preg_match('/^[0-9]+$/', $values['booking_nid'])) { if (! preg_match('/^[0-9]+$/', $values['booking_nid'])) {