The email on order submission ('New Order at...') sent by uc_order_mail() always says 'n/a' as the message body even when the template is set to 'customer.'
The message body is ok until it is processed at this line:
$message['body'] = check_markup($body, $params['format']);
The problem is that this line in check_markup($text, $format = FILTER_FORMAT_DEFAULT, $check = TRUE) is returning false:
if (isset($text) && (!$check || filter_access($format))) {
This is because the permissions check on filter 2 (full html) is returning false.
Solution:?
My guess is that the function should be called (on uc_order.module line 498)with false in the 3d parameter to avoid the permission check:
$message['body'] = check_markup($body, $params['format'], false);
cheers
