Fixed spanish accents processing in ICML
This commit is contained in:
parent
c9b92919c8
commit
b5adba84be
@ -119,7 +119,7 @@ if (!class_exists('WC_Retailcrm_Icml')) :
|
||||
$string = sprintf(
|
||||
'<?xml version="1.0" encoding="UTF-8"?><yml_catalog date="%s"><shop><name>%s</name><categories/><offers/></shop></yml_catalog>',
|
||||
current_time('Y-m-d H:i:s'),
|
||||
$this->shop
|
||||
html_entity_decode($this->shop)
|
||||
);
|
||||
|
||||
file_put_contents($this->tmpFile, $string, LOCK_EX);
|
||||
|
Loading…
x
Reference in New Issue
Block a user