Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning code appearing in invoice emails


Guest

Recommended Posts

Hi,

 

Just recently I have noticed that I am getting warning code appearing in the html email sent out to customers when they make a purchase. The warning code is as follows:

Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/inmy/public_html/includes/functions/general.php on line 42

 

This piece of code is repeated 4 times in the emails. Nothing appears to be missing from the emails, I ust want this piesce of code to stop appearing.

 

I have looked on line 42 of the specified file and it is:

 

return htmlspecialchars($string);

 

Can someone please hsed some light on how I can fix this?

 

Much appreciated.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...