This commit is contained in:
2016-05-31 18:41:02 +10:00
parent a82e6baa42
commit 8ecef65d38
2 changed files with 3 additions and 3 deletions

View File

@@ -236,8 +236,8 @@ function booking_emails_admin() {
//add a bunch of custom emails
//@todo add an admin variable for this
for ($i = 1; $i <= 5; $i++) {
$subject_fieldname = 'booking_email_subject_logistics_custom' . $i;
$body_fieldname = 'booking_email_logistics_custom' . $i;
$subject_fieldname = 'booking_email_subject_customlogistics' . $i;
$body_fieldname = 'booking_email_customlogistics' . $i;
$form['custom-logistics-emails'][$subject_fieldname] = array (
'#type' => 'textfield',
'#title' => t('Subject line for Logistics Custom Email ' . $i),

View File

@@ -1491,7 +1491,7 @@ function _booking_travelform_email_summary($node) {
foreach ($rows as $key => $value)
$rows[$key] = wordwrap($value);
}
watchdog('booking_debug', "<pre>Travel form summary\n@info</pre>", array('@info' => print_r( $rows, true)));
//watchdog('booking_debug', "<pre>Travel form summary\n@info</pre>", array('@info' => print_r( $rows, true)));
return implode("\n", $rows);
}