#1 "subject_prefix" in the subject of the email

Closed
opened 6 years ago by KEVAO28 · 2 comments
KEVAO28 commented 6 years ago

Hello, I have a problem when I receive the email. The subject of the email appears "subject_prefix" could you check?

Hello, I have a problem when I receive the email. The subject of the email appears "subject_prefix" could you check?
angela commented 6 years ago
Owner

Dang, typo. Thanks for reporting it.

This line:

$mail->setSubject($language->get(html_entity_decode('subject_prefix').' '.$order_info['store_name']));

Should be:

$mail->setSubject($language->get(html_entity_decode($language->get('subject_prefix')).' '.$order_info['store_name']));

I'll submit a patch update with this, shortly.

Dang, typo. Thanks for reporting it. This line: ```php $mail->setSubject($language->get(html_entity_decode('subject_prefix').' '.$order_info['store_name'])); ``` Should be: ```php $mail->setSubject($language->get(html_entity_decode($language->get('subject_prefix')).' '.$order_info['store_name'])); ``` I'll submit a patch update with this, shortly.
angela commented 6 years ago
Owner

Fixed in the latest commit

Fixed in the [latest commit](https://notabug.org/angela/abandoned-carts-opencart/commit/b95ba72e81e4eaba5608b255f115ce6e22fc0a55)
Sign in to join this conversation.
No Label
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.