fix
This commit is contained in:
@@ -236,8 +236,8 @@ function booking_emails_admin() {
|
|||||||
//add a bunch of custom emails
|
//add a bunch of custom emails
|
||||||
//@todo add an admin variable for this
|
//@todo add an admin variable for this
|
||||||
for ($i = 1; $i <= 5; $i++) {
|
for ($i = 1; $i <= 5; $i++) {
|
||||||
$subject_fieldname = 'booking_email_subject_logistics_custom' . $i;
|
$subject_fieldname = 'booking_email_subject_customlogistics' . $i;
|
||||||
$body_fieldname = 'booking_email_logistics_custom' . $i;
|
$body_fieldname = 'booking_email_customlogistics' . $i;
|
||||||
$form['custom-logistics-emails'][$subject_fieldname] = array (
|
$form['custom-logistics-emails'][$subject_fieldname] = array (
|
||||||
'#type' => 'textfield',
|
'#type' => 'textfield',
|
||||||
'#title' => t('Subject line for Logistics Custom Email ' . $i),
|
'#title' => t('Subject line for Logistics Custom Email ' . $i),
|
||||||
|
@@ -1491,7 +1491,7 @@ function _booking_travelform_email_summary($node) {
|
|||||||
foreach ($rows as $key => $value)
|
foreach ($rows as $key => $value)
|
||||||
$rows[$key] = wordwrap($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);
|
return implode("\n", $rows);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user