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))); }