1
0
mirror of synced 2025-01-19 01:11:42 +03:00

Fixed spanish accents processing in ICML

This commit is contained in:
gleemand 2022-06-23 17:27:07 +03:00 committed by GitHub
parent c9b92919c8
commit b5adba84be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);