fix converting strings from utf-8
This commit is contained in:
parent
559bf79f7b
commit
976d5511fc
@ -273,6 +273,10 @@ class RCrmActions
|
||||
*/
|
||||
public static function fromJSON($str)
|
||||
{
|
||||
if ($str === null) {
|
||||
return '';
|
||||
}
|
||||
|
||||
/** @var \Intaro\RetailCrm\Service\Utils $utils */
|
||||
$utils = ServiceLocator::getOrCreate(\Intaro\RetailCrm\Service\Utils::class);
|
||||
return $utils->fromUTF8($str);
|
||||
|
Loading…
Reference in New Issue
Block a user