debug form_state

This commit is contained in:
Nathan Coad
2018-05-02 14:54:45 +10:00
parent b5614a80e4
commit a61dd8cdc4

View File

@@ -238,5 +238,5 @@ function booking_variety_regn_callback($form, &$form_state) {
function booking_variety_regn_form_submit($form, &$form_state) {
global $event;
$values = $form_state['input'];
watchdog('booking_debug', 'booking_variety_regn_form_submit: <pre>@info</pre>', array('@info' => print_r( $form, true)));
watchdog('booking_debug', 'booking_variety_regn_form_submit: <pre>@info</pre>', array('@info' => print_r( $form_state, true)));
}