From fcbd24851eee53e04d0c1a7be722ea0168e2540a Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Wed, 25 May 2016 23:30:08 +1000 Subject: [PATCH] default email type --- booking.emails.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/booking.emails.inc b/booking.emails.inc index 9446d3a..fdd7383 100644 --- a/booking.emails.inc +++ b/booking.emails.inc @@ -9,6 +9,7 @@ function booking_manual_email() $group_text = ""; $prefix = t("

Send a manual email to people registered for this event.

"); $email_options_array = array(); + $email_options_array['NULL'] = "---"; $email_options_array['registration'] = 'Registration Successful Email'; $email_options_array['balance'] = 'Balance Outstanding Email'; $email_options_array['complete'] = 'Payment Complete Email'; @@ -31,7 +32,7 @@ function booking_manual_email() '#type' => 'select', '#title' => t('Email Type'), '#required' => TRUE, - '#default_value' => '', + '#default_value' => 'NULL', '#options' => $email_options_array, );