get html textarea value
This commit is contained in:
@@ -135,6 +135,8 @@ function _booking_regn_notifyonly_email($node, $balance_payment) {
|
|||||||
//$contact_message = token_replace(variable_get('booking_email_waitinglist_text'), $tokens);
|
//$contact_message = token_replace(variable_get('booking_email_waitinglist_text'), $tokens);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Use the value of the field if it is an array from a HTML textarea
|
||||||
|
$body = isset($body['format']) ? $body['value'] : $body;
|
||||||
watchdog('booking_debug', "<pre>Email generation:\n@info</pre>", array('@info' => print_r( $body, true)));
|
watchdog('booking_debug', "<pre>Email generation:\n@info</pre>", array('@info' => print_r( $body, true)));
|
||||||
//$contact_message .= "\n\n" . t("!details", array('!details' => _booking_details_email_summary($node)));
|
//$contact_message .= "\n\n" . t("!details", array('!details' => _booking_details_email_summary($node)));
|
||||||
return token_replace($body, $tokens);
|
return token_replace($body, $tokens);
|
||||||
|
Reference in New Issue
Block a user