debug
This commit is contained in:
@@ -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'])) {
|
||||||
|
Reference in New Issue
Block a user