This commit is contained in:
Nathan Coad
2018-06-16 19:59:41 +10:00
parent 39449c2cad
commit 04fc135818

View File

@@ -447,7 +447,7 @@ function booking_manual_email_form_submit($form, &$form_state) {
//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'])) {
$attachment = file_load($form_state['values']['booking-email-attachment']); $attachment = file_load($form_state['values']['booking-email-attachment']);
watchdog('booking_debug', 'File attachment detected: @info', array ('@info' => print_r($attachment, TRUE))); watchdog('booking_debug', 'File attachment detected: @info', array ('@info' => print_r($attachment, TRUE)));
} }