add debug
This commit is contained in:
@@ -434,6 +434,7 @@ function booking_rooms_definition_form_validate($form, $form_state) {
|
||||
|
||||
if (! is_numeric($values['booking_room_number'])) {
|
||||
form_set_error('booking_room_number', t('Room number must be numeric. If you need to use a more descriptive label, please use the room label field.'));
|
||||
watchdog('booking_debug', "<pre>Room definition submission:\n@info</pre>", array('@info' => print_r( $form_state, true)));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user