fix subject line
This commit is contained in:
@@ -97,13 +97,14 @@ function _booking_regn_notifyonly_email($node, $balance_payment) {
|
||||
$to = variable_get('booking_notify_email', variable_get('site_mail', ini_get('sendmail_from')));
|
||||
|
||||
if ($balance_payment == TRUE) {
|
||||
$params['subject'] = t('Registration Fully Paid: !first !last',
|
||||
$subject = t('Registration Fully Paid: !first !last',
|
||||
array('!first' => $node->booking_firstname, '!last' => $node->booking_lastname));
|
||||
}
|
||||
else {
|
||||
$params['subject'] = t('New Registration: !first !last',
|
||||
$subject = t('New Registration: !first !last',
|
||||
array('!first' => $node->booking_firstname, '!last' => $node->booking_lastname));
|
||||
}
|
||||
$params['subject'] = $subject;
|
||||
|
||||
$body = variable_get('booking_email_notification_text');
|
||||
//Use the value of the field if it is an array from a HTML textarea
|
||||
|
Reference in New Issue
Block a user