less debug

This commit is contained in:
Nathan Coad
2019-09-17 22:28:30 +10:00
parent e2eb730d19
commit bac7acafc5

View File

@@ -1124,9 +1124,9 @@ function booking_form_validate($form, &$form_state) {
}
//in case the date of birth field hasn't been filled out
watchdog('booking', 'Blank date of birth checking: @info', array(
'@info' => var_export($data['booking_dob'], TRUE)
));
//watchdog('booking_debug', 'Blank date of birth checking: @info', array(
// '@info' => var_export($data['booking_dob'], TRUE)
//));
$dob_check = $data['booking_dob']['day'] != '' && $data['booking_dob']['month'] != '' && $data['booking_dob']['year'] != '' ? _datearray_to_ts($data['booking_dob']) : 0;
//Verify this is not a duplicate registration