Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

htmlspecialchars() expects ?What Can I do Now?


capsulas

Recommended Posts

Posted

My friends

I have the following warning in checkout_confirmation module. What Can I do Now?

Anybody help me.

 

 

Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/capsulas/capsulasdeconocimiento-www/catalog/includes/functions/general.php on line 42

 

 

Code in general.php on line 42 are:

 

function tep_output_string($string, $translate = false, $protected = false) {

if ($protected == true) {

return htmlspecialchars($string); } else {

if ($translate == false) {

return tep_parse_input_field_data($string, array('"' => '"'));

} else {

return tep_parse_input_field_data($string, $translate);

}

}

}

Archived

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

×
×
  • Create New...