pure-dvd.com Posted February 4, 2004 Share Posted February 4, 2004 While processing a test order on my site, this error appears as the billing address during checkout ? Can ANYBODY help me with this? It's really annoying me......... Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/virtual/site162/fst/var/www/html/store/includes/functions/general.php on line 42 Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/virtual/site162/fst/var/www/html/store/includes/functions/general.php on line 42 The program states: //// Parse the data used in the html tags to ensure the tags will not break function tep_parse_input_field_data($data, $parse) { return strtr(trim($data), $parse); } 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); } } } Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.