New Zenner
- Join Date:
- Nov 2007
- Posts:
- 1
- Plugin Contributions:
- 0
[Done v1.3.8] PAYMENT_METHOD_FOOTER isn't working in html emails.
I don't think the code $PAYMENT_METHOD_FOOTER in HTML emails is working in version 1.3.7. Line 956 of includes/classes/order.php is...
$html_msg['PAYMENT_METHOD_FOOTER'] = (is_object($GLOBALS[$_SESSION['payment']] && $GLOBALS[$payment_class]->email_footer != '') ? $GLOBALS[$payment_class]->email_footer : $this->info['cc_type'] );
I believe that the ) just before the ? should actually be before the && as it's currently testing if
$GLOBALS[$_SESSION['payment']] && $GLOBALS[$payment_class]->email_footer != ''
is an object rather than just
$GLOBALS[$_SESSION['payment']]