This commit is contained in:
2016-05-25 23:37:20 +10:00
parent fcbd24851e
commit e4f07d47e4

View File

@@ -207,11 +207,11 @@ function booking_manual_email_submit($form, &$form_state) {
$counter++;
//store info about the email
$update_messages[] = $message;
watchdog('booking_debug', "<pre>Email Messages array\n@info</pre>", array('@info' => print_r( $update_messages, true)));
}
}
}
$final_message = "Sent manual email for $counter people.";
$final_message = "Sent manual email for $counter people of type " . $form_state['values']['email-type'];
drupal_set_message($final_message, 'status', FALSE);
watchdog('booking', "<pre>" . $final_message . "\n" . implode("\n", $update_messages) . "</pre>");
//watchdog('booking', "Sent manual email for $counter people.");