fix
This commit is contained in:
@@ -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)));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user