Jump to content

Problem with Email Subject line since update to 1.7.6.2


Peter_Tersluisen

Recommended Posts

Hi Everyone!
I think I lost my code page settings - from the looks of it. The only significant change I made was on January 8, when I ran an update to 1.7.6.2
the subject line now reads this:
[Vee's Kaffee & Bohnen] New order : #51 - EOJVGGUOG
when it should read 
[Vee's Kaffee & Bohnen] New order : #51 - EOJVGGUOG 

Straggely, the sender's email name, "Vee's Kaffee & Bohnen" shows correctly.

Has anyone seen this happen before?

I can not leave this for our  customers like this. The shop is not yet open, but I am planning any day now

 

 

 

 

 

2020-01-14 (1).png

Link to comment
Share on other sites

@Peter_Tersluisen

You can open: classes/Mail.php 

Change line:

$subject = '[' . Tools::safeOutput($configuration['PS_SHOP_NAME']) . '] ' . $subject;

To

$subject = '[' . strip_tags($configuration['PS_SHOP_NAME']) . '] ' . $subject;

 

  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...