From 04fc135818c314aa484b8a4d715c771f94474723 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Sat, 16 Jun 2018 19:59:41 +1000 Subject: [PATCH] fix --- booking.email_manually.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/booking.email_manually.inc b/booking.email_manually.inc index 7f67fc2..88de598 100644 --- a/booking.email_manually.inc +++ b/booking.email_manually.inc @@ -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', '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']); watchdog('booking_debug', 'File attachment detected: @info', array ('@info' => print_r($attachment, TRUE))); }