add debug

This commit is contained in:
Nathan Coad
2018-06-17 04:41:18 +10:00
parent 0e7d9a215a
commit ea9ed2abf3

View File

@@ -424,7 +424,7 @@ function booking_manual_email_form_submit($form, &$form_state) {
$attachment = NULL; $attachment = NULL;
$update_messages = array(); $update_messages = array();
$checkboxes = $form_state['values']['table']; //$values['booking_price_active']; $checkboxes = $form_state['values']['table']; //$values['booking_price_active'];
//watchdog('booking', 'Formstate when setting buttons: @info', array ('@info' => var_export($form_state['values'], TRUE))); watchdog('booking', 'Formstate when setting buttons: @info', array ('@info' => var_export($form_state['values'], TRUE)));
//watchdog('booking', 'Checkboxes when setting buttons: @info', array ('@info' => var_export($checkboxes, TRUE))); //watchdog('booking', 'Checkboxes when setting buttons: @info', array ('@info' => var_export($checkboxes, TRUE)));
if (isset($form_state['values']['booking-email-attachment'])) { if (isset($form_state['values']['booking-email-attachment'])) {