This commit is contained in:
2017-06-27 20:56:29 +10:00
parent 39f174401a
commit c94c90dd94

View File

@@ -88,7 +88,7 @@ function booking_emails_admin() {
'#title' => t('Payment Complete Email'),
'#description' => t('Email text to indicate a person has booked in, fully paid and is not on the waiting list. ' .
'This will be sent either at initial registration if the full amount is paid, or when the balance is paid.'),
'#default_value' => $form_type == 'text_format' ? variable_get('booking_email_regn_complete_text')['value'] : variable_get('booking_email_regn_complete_text', $booking_email_regn_complete_text),
'#default_value' => isset(variable_get('booking_email_regn_complete_text')['value']) ? variable_get('booking_email_regn_complete_text')['value'] : variable_get('booking_email_regn_complete_text', $booking_email_regn_complete_text),
'#type' => $form_type,
'#format' => $form_format,
);